public enum BytecodeInstructionType extends Enum<BytecodeInstructionType>
| Enum Constant and Description |
|---|
ARRAYLENGTH |
ATHROW |
BINARY_CMP |
BINARY_MATH |
CHECKCAST |
CONSTANT |
CONVERSION |
DUP |
DUP_X1 |
DUP_X2 |
DUP2 |
DUP2_X1 |
DUP2_X2 |
FRAME
Pseudo-instruction that refers to a frame map of an instruction
|
GETFIELD |
GETSTATIC |
GOTO |
INC |
INVOKE |
INVOKE_DYNAMIC |
JSR |
LABEL
Pseudo-instruction that refers to a label of an instruction
|
LDC |
LINE_NUMBER
Pseudo-instruction that refers to the line of source code referent to an instruction
|
LOAD |
LOAD_ARRAY |
MONITOR |
MULTIANEWARRAY |
NEW |
NEWARRAY |
NOP |
POP |
POP2 |
PUTFIELD |
PUTSTATIC |
RET |
RETURN |
RETURN_VOID |
STORE |
STORE_ARRAY |
SWAP |
SWITCH |
UNARY_CMP |
UNARY_MATH |
| Modifier and Type | Method and Description |
|---|---|
static BytecodeInstructionType |
getFromOpcode(int opcode)
Gets an instruction given its opcode value.
|
static BytecodeInstructionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BytecodeInstructionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BytecodeInstructionType LABEL
public static final BytecodeInstructionType LINE_NUMBER
public static final BytecodeInstructionType FRAME
public static final BytecodeInstructionType NOP
public static final BytecodeInstructionType CONSTANT
public static final BytecodeInstructionType LDC
public static final BytecodeInstructionType LOAD
public static final BytecodeInstructionType LOAD_ARRAY
public static final BytecodeInstructionType STORE
public static final BytecodeInstructionType STORE_ARRAY
public static final BytecodeInstructionType POP
public static final BytecodeInstructionType POP2
public static final BytecodeInstructionType DUP
public static final BytecodeInstructionType DUP_X1
public static final BytecodeInstructionType DUP_X2
public static final BytecodeInstructionType DUP2
public static final BytecodeInstructionType DUP2_X1
public static final BytecodeInstructionType DUP2_X2
public static final BytecodeInstructionType SWAP
public static final BytecodeInstructionType BINARY_MATH
public static final BytecodeInstructionType UNARY_MATH
public static final BytecodeInstructionType INC
public static final BytecodeInstructionType CONVERSION
public static final BytecodeInstructionType BINARY_CMP
public static final BytecodeInstructionType UNARY_CMP
public static final BytecodeInstructionType GOTO
public static final BytecodeInstructionType JSR
public static final BytecodeInstructionType RET
public static final BytecodeInstructionType SWITCH
public static final BytecodeInstructionType RETURN
public static final BytecodeInstructionType RETURN_VOID
public static final BytecodeInstructionType GETSTATIC
public static final BytecodeInstructionType PUTSTATIC
public static final BytecodeInstructionType GETFIELD
public static final BytecodeInstructionType PUTFIELD
public static final BytecodeInstructionType INVOKE
public static final BytecodeInstructionType INVOKE_DYNAMIC
public static final BytecodeInstructionType NEW
public static final BytecodeInstructionType NEWARRAY
public static final BytecodeInstructionType ARRAYLENGTH
public static final BytecodeInstructionType ATHROW
public static final BytecodeInstructionType CHECKCAST
public static final BytecodeInstructionType MONITOR
public static final BytecodeInstructionType MULTIANEWARRAY
public static BytecodeInstructionType[] values()
for (BytecodeInstructionType c : BytecodeInstructionType.values()) System.out.println(c);
public static BytecodeInstructionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static BytecodeInstructionType getFromOpcode(int opcode)
opcode - the opcode valueCopyright © 2014. All rights reserved.