public enum OperandType extends java.lang.Enum<OperandType>
| Enum Constant and Description |
|---|
BranchTarget
Opcode is followed by a 2-byte branch offset.
|
BranchTargetWide
Opcode is followed by a 4-byte branch offset.
|
Constant
Opcode is followed by an unsigned byte.
|
DynamicCallSite
Opcode is followed by a method reference.
|
FieldReference
Opcode is followed by a field reference.
|
I1
Opcode is followed by a signed byte.
|
I2
Opcode is followed by a signed short integer.
|
I8
Opcode is followed by a signed long integer.
|
Local
Opcode is followed by a 1-byte reference to a local variable.
|
LocalI1
Opcode is followed by a 1-byte reference to a local variable
and a signed byte value.
|
LocalI2
Opcode is followed by a 2-byte reference to a local variable
and a signed short integer.
|
MethodReference
Opcode is followed by a method reference.
|
None
Opcode is not followed by any operands.
|
PrimitiveTypeCode
Opcode is followed by a primitive type code.
|
Switch
Opcode is followed by variable number of operands, depending
on the instruction.
|
TypeReference
Opcode is followed by a type reference.
|
TypeReferenceU1
Opcode is followed by a type reference and an unsigned byte.
|
WideConstant
Opcode is followed by an unsigned short integer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBaseSize() |
static OperandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperandType None
public static final OperandType PrimitiveTypeCode
public static final OperandType TypeReference
public static final OperandType TypeReferenceU1
public static final OperandType DynamicCallSite
public static final OperandType MethodReference
public static final OperandType FieldReference
public static final OperandType BranchTarget
public static final OperandType BranchTargetWide
public static final OperandType I1
public static final OperandType I2
public static final OperandType I8
public static final OperandType Constant
public static final OperandType WideConstant
public static final OperandType Switch
public static final OperandType Local
public static final OperandType LocalI1
public static final OperandType LocalI2
public static OperandType[] values()
for (OperandType c : OperandType.values()) System.out.println(c);
public static OperandType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getBaseSize()