Enum Class JVMInstr
- All Implemented Interfaces:
Serializable
,Comparable<JVMInstr>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final OperationFactory
private final String
private final boolean
private final int
private final RawJavaType
private final StackTypes
private final StackTypes
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
JVMInstr
(int opcode, int bytes, StackTypes popped, StackTypes pushed, RawJavaType rawJavaType) private
JVMInstr
(int opcode, int bytes, StackTypes popped, StackTypes pushed, RawJavaType rawJavaType, boolean noThrow) private
JVMInstr
(int opcode, int bytes, StackTypes popped, StackTypes pushed, RawJavaType rawJavaType, OperationFactory handler) private
JVMInstr
(int opcode, int bytes, StackTypes popped, StackTypes pushed, RawJavaType rawJavaType, OperationFactory handler, boolean noThrow) -
Method Summary
Modifier and TypeMethodDescriptioncreateOperation
(ByteData bd, ConstantPool cp, int offset) static JVMInstr
find
(int opcode) getName()
int
protected int
getStackDelta
(byte[] data, ConstantPoolEntry[] constantPoolEntries, StackSim stackSim, Method method) static boolean
boolean
static JVMInstr
Returns the enum constant of this class with the specified name.static JVMInstr[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AALOAD
-
AASTORE
-
ACONST_NULL
-
ALOAD
-
ALOAD_WIDE
-
ALOAD_0
-
ALOAD_1
-
ALOAD_2
-
ALOAD_3
-
ANEWARRAY
-
ARETURN
-
ARRAYLENGTH
-
ASTORE
-
ASTORE_WIDE
-
ASTORE_0
-
ASTORE_1
-
ASTORE_2
-
ASTORE_3
-
ATHROW
-
BALOAD
-
BASTORE
-
BIPUSH
-
CALOAD
-
CASTORE
-
CHECKCAST
-
D2F
-
D2I
-
D2L
-
DADD
-
DALOAD
-
DASTORE
-
DCMPG
-
DCMPL
-
DCONST_0
-
DCONST_1
-
DDIV
-
DLOAD
-
DLO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_2
-
ISTORE_3
-
ISUB
-
IUSHR
-
IXOR
-
JSR
-
JSR_W
-
L2D
-
L2F
-
L2I
-
LADD
-
LALOAD
-
LAND
-
LASTORE
-
LCMP
-
LCONST_0
-
LCONST_1
-
LDC
-
LDC_W
-
LDC2_W
-
LDIV
-
LLOAD
-
LLOAD_WIDE
-
LLOAD_0
-
LLOAD_1
-
LLOAD_2
-
LLOAD_3
-
LMUL
-
LNEG
-
LOOKUPSWITCH
-
LOR
-
LREM
-
LRETURN
-
LSHL
-
LSHR
-
LSTORE
-
LSTORE_WIDE
-
LSTORE_0
-
LSTORE_1
-
LSTORE_2
-
LSTORE_3
-
LSUB
-
LUSHR
-
LXOR
-
MONITORENTER
-
MONITOREXIT
-
MULTIANEWARRAY
-
NEW
-
NEWARRAY
-
NOP
-
POP
-
POP2
-
PUTFIELD
-
PUTSTATIC
-
RET
-
RET_WIDE
-
RETURN
-
SALOAD
-
SASTORE
-
SIPUSH
-
SWAP
-
TABLESWITCH
-
WIDE
-
FAKE_TRY
-
FAKE_CATCH
-
-
Field Details
-
opcode
private final int opcode -
bytes
private final int bytes -
stackPopped
-
stackPushed
-
rawJavaType
-
name
-
handler
-
noThrow
private final boolean noThrow -
opcodeLookup
-
-
Constructor Details
-
JVMInstr
private JVMInstr(int opcode, int bytes, StackTypes popped, StackTypes pushed, RawJavaType rawJavaType) -
JVMInstr
private JVMInstr(int opcode, int bytes, StackTypes popped, StackTypes pushed, RawJavaType rawJavaType, boolean noThrow) -
JVMInstr
private JVMInstr(int opcode, int bytes, StackTypes popped, StackTypes pushed, RawJavaType rawJavaType, OperationFactory handler) -
JVMInstr
private JVMInstr(int opcode, int bytes, StackTypes popped, StackTypes pushed, RawJavaType rawJavaType, OperationFactory handler, boolean noThrow)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOpcode
public int getOpcode() -
getName
-
find
-
getRawLength
protected int getRawLength() -
getRawStackPushed
-
getRawStackPopped
-
getStackDelta
public StackDelta getStackDelta(byte[] data, ConstantPoolEntry[] constantPoolEntries, StackSim stackSim, Method method) -
createOperation
-
getRawJavaType
-
isNoThrow
public boolean isNoThrow() -
isAStore
-