|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstructionConstants
This interface contains shareable instruction objects. In order to save memory you can use some instructions multiply, since they have an immutable state and are directly derived from Instruction. I.e. they have no instance fields that could be changed. Since some of these instructions like ICONST_0 occur very frequently this can save a lot of time and space. This feature is an adaptation of the FlyWeight design pattern, we just use an array instead of a factory. The Instructions can also accessed directly under their names, so it's possible to write il.append(Instruction.ICONST_0);
Nested Class Summary | |
---|---|
static class |
InstructionConstants.Clinit
|
Field Detail |
---|
static final Instruction NOP
static final Instruction ACONST_NULL
static final Instruction ICONST_M1
static final Instruction ICONST_0
static final Instruction ICONST_1
static final Instruction ICONST_2
static final Instruction ICONST_3
static final Instruction ICONST_4
static final Instruction ICONST_5
static final Instruction LCONST_0
static final Instruction LCONST_1
static final Instruction FCONST_0
static final Instruction FCONST_1
static final Instruction FCONST_2
static final Instruction DCONST_0
static final Instruction DCONST_1
static final Instruction IALOAD
static final Instruction LALOAD
static final Instruction FALOAD
static final Instruction DALOAD
static final Instruction AALOAD
static final Instruction BALOAD
static final Instruction CALOAD
static final Instruction SALOAD
static final Instruction IASTORE
static final Instruction LASTORE
static final Instruction FASTORE
static final Instruction DASTORE
static final Instruction AASTORE
static final Instruction BASTORE
static final Instruction CASTORE
static final Instruction SASTORE
static final Instruction POP
static final Instruction POP2
static final Instruction DUP
static final Instruction DUP_X1
static final Instruction DUP_X2
static final Instruction DUP2
static final Instruction DUP2_X1
static final Instruction DUP2_X2
static final Instruction SWAP
static final Instruction IADD
static final Instruction LADD
static final Instruction FADD
static final Instruction DADD
static final Instruction ISUB
static final Instruction LSUB
static final Instruction FSUB
static final Instruction DSUB
static final Instruction IMUL
static final Instruction LMUL
static final Instruction FMUL
static final Instruction DMUL
static final Instruction IDIV
static final Instruction LDIV
static final Instruction FDIV
static final Instruction DDIV
static final Instruction IREM
static final Instruction LREM
static final Instruction FREM
static final Instruction DREM
static final Instruction INEG
static final Instruction LNEG
static final Instruction FNEG
static final Instruction DNEG
static final Instruction ISHL
static final Instruction LSHL
static final Instruction ISHR
static final Instruction LSHR
static final Instruction IUSHR
static final Instruction LUSHR
static final Instruction IAND
static final Instruction LAND
static final Instruction IOR
static final Instruction LOR
static final Instruction IXOR
static final Instruction LXOR
static final Instruction I2L
static final Instruction I2F
static final Instruction I2D
static final Instruction L2I
static final Instruction L2F
static final Instruction L2D
static final Instruction F2I
static final Instruction F2L
static final Instruction F2D
static final Instruction D2I
static final Instruction D2L
static final Instruction D2F
static final Instruction I2B
static final Instruction I2C
static final Instruction I2S
static final Instruction LCMP
static final Instruction FCMPL
static final Instruction FCMPG
static final Instruction DCMPL
static final Instruction DCMPG
static final Instruction IRETURN
static final Instruction LRETURN
static final Instruction FRETURN
static final Instruction DRETURN
static final Instruction ARETURN
static final Instruction RETURN
static final Instruction ARRAYLENGTH
static final Instruction ATHROW
static final Instruction MONITORENTER
static final Instruction MONITOREXIT
static final Instruction IMPDEP1
static final Instruction IMPDEP2
static final InstructionLV THIS
static final InstructionLV ALOAD_0
static final InstructionLV ALOAD_1
static final InstructionLV ALOAD_2
static final InstructionLV ALOAD_3
static final InstructionLV ILOAD_0
static final InstructionLV ILOAD_1
static final InstructionLV ILOAD_2
static final InstructionLV ILOAD_3
static final InstructionLV DLOAD_0
static final InstructionLV DLOAD_1
static final InstructionLV DLOAD_2
static final InstructionLV DLOAD_3
static final InstructionLV FLOAD_0
static final InstructionLV FLOAD_1
static final InstructionLV FLOAD_2
static final InstructionLV FLOAD_3
static final InstructionLV LLOAD_0
static final InstructionLV LLOAD_1
static final InstructionLV LLOAD_2
static final InstructionLV LLOAD_3
static final InstructionLV ASTORE_0
static final InstructionLV ASTORE_1
static final InstructionLV ASTORE_2
static final InstructionLV ASTORE_3
static final InstructionLV ISTORE_0
static final InstructionLV ISTORE_1
static final InstructionLV ISTORE_2
static final InstructionLV ISTORE_3
static final InstructionLV LSTORE_0
static final InstructionLV LSTORE_1
static final InstructionLV LSTORE_2
static final InstructionLV LSTORE_3
static final InstructionLV FSTORE_0
static final InstructionLV FSTORE_1
static final InstructionLV FSTORE_2
static final InstructionLV FSTORE_3
static final InstructionLV DSTORE_0
static final InstructionLV DSTORE_1
static final InstructionLV DSTORE_2
static final InstructionLV DSTORE_3
static final Instruction[] INSTRUCTIONS
static final InstructionConstants.Clinit bla
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |