public class OpcodeClass
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_OPCODE_INSTANCE
Opcode class type: one instance per opcode usage.
|
static int |
TYPE_RUNTIME_INSTANCE
Opcode class type: one instance per renderer instance.
|
static int |
TYPE_STATIC
Opcode class type: no instance needed.
|
Constructor and Description |
---|
OpcodeClass(java.lang.String strName,
int nType)
Constructor.
|
public static final int TYPE_STATIC
public static final int TYPE_RUNTIME_INSTANCE
public static final int TYPE_OPCODE_INSTANCE
public OpcodeClass(java.lang.String strName, int nType)
strName
- the name of the opcode class.
A fully qualified class name is expected
(package.class).nType
- the instantiation type of the class.
One of TYPE_STATIC, TYPE_RUNTIME_INSTANCE
and TYPE_OPCODE_INSTANCE.public java.lang.String getName()
public int getType()