public enum OperandType extends java.lang.Enum<OperandType>
| Enum Constant and Description |
|---|
Branch
Opcode is followed by a 2-byte branch offset.
|
BranchW
Opcode is followed by a 4-byte branch offset.
|
Byte
Opcode is followed by a signed byte value.
|
CPRef
Opcode is followed by a 1-byte index into the constant pool.
|
CPRefWide
Opcode is followed by a 2-byte index into the constant pool.
|
CPRefWideUByte
Opcode is followed by a 2-byte index into the constant pool,
an unsigned byte value.
|
CPRefWideUByteZero
Opcode is followed by a 2-byte index into the constant pool.,
an unsigned byte value, and a zero byte.
|
Dynamic
Opcode is followed by variable number of operands, depending
on the instruction.
|
Local
Opcode is followed by a 1-byte reference to a local variable.
|
LocalByte
Opcode is followed by a 1-byte reference to a local variable,
and a signed byte value.
|
NoOperands
Opcode is not followed by any operands.
|
Short
Opcode is followed by a signed short value.
|
Type
Opcode is followed by a byte indicating a type.
|
Unknown
Opcode was not recognized.
|
WideCPRefWide
Wide opcode is followed by a 2-byte index into the constant pool.
|
WideCPRefWideShort
Wide opcode is followed by a 2-byte index into the constant pool,
and a signed short value.
|
WideNoOperands
Wide opcode is not followed by any operands.
|
| Modifier and Type | Method and Description |
|---|---|
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 NoOperands
public static final OperandType Type
public static final OperandType Branch
public static final OperandType BranchW
public static final OperandType Byte
public static final OperandType CPRef
public static final OperandType CPRefWide
public static final OperandType CPRefWideUByte
public static final OperandType CPRefWideUByteZero
public static final OperandType Dynamic
public static final OperandType Local
public static final OperandType LocalByte
public static final OperandType Short
public static final OperandType WideNoOperands
public static final OperandType WideCPRefWide
public static final OperandType WideCPRefWideShort
public static final OperandType Unknown
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 null