| |
|
| java.lang.Object org.cojen.classfile.Opcode
Opcode | public class Opcode (Code) | | A collection of opcode constants for creating class file byte code. These
opcodes are defined in chapter 6 of
The Java Virual Machine Specification.
author: Brian S O'Neill See Also: cojen.classfile.attribute.CodeAttr |
Field Summary | |
final public static byte | AALOAD | final public static byte | AASTORE | final public static byte | ACONST_NULL | final public static byte | ALOAD | final public static byte | ALOAD_0 | final public static byte | ALOAD_1 | final public static byte | ALOAD_2 | final public static byte | ALOAD_3 | final public static byte | ANEWARRAY | final public static byte | ARETURN | final public static byte | ARRAYLENGTH | final public static byte | ASTORE | final public static byte | ASTORE_0 | final public static byte | ASTORE_1 | final public static byte | ASTORE_2 | final public static byte | ASTORE_3 | final public static byte | ATHROW | final public static byte | BALOAD | final public static byte | BASTORE | final public static byte | BIPUSH | final public static byte | BREAKPOINT | final public static byte | CALOAD | final public static byte | CASTORE | final public static byte | CHECKCAST | final public static byte | D2F | final public static byte | D2I | final public static byte | D2L | final public static byte | DADD | final public static byte | DALOAD | final public static byte | DASTORE | final public static byte | DCMPG | final public static byte | DCMPL | final public static byte | DCONST_0 | final public static byte | DCONST_1 | final public static byte | DDIV | final public static byte | DLOAD | final public static byte | DLOAD_0 | final public static byte | DLOAD_1 | final public static byte | DLOAD_2 | final public static byte | DLOAD_3 | final public static byte | DMUL | final public static byte | DNEG | final public static byte | DREM | final public static byte | DRETURN | final public static byte | DSTORE | final public static byte | DSTORE_0 | final public static byte | DSTORE_1 | final public static byte | DSTORE_2 | final public static byte | DSTORE_3 | final public static byte | DSUB | final public static byte | DUP | final public static byte | DUP2 | final public static byte | DUP2_X1 | final public static byte | DUP2_X2 | final public static byte | DUP_X1 | final public static byte | DUP_X2 | final public static byte | F2D | final public static byte | F2I | final public static byte | F2L | final public static byte | FADD | final public static byte | FALOAD | final public static byte | FASTORE | final public static byte | FCMPG | final public static byte | FCMPL | final public static byte | FCONST_0 | final public static byte | FCONST_1 | final public static byte | FCONST_2 | final public static byte | FDIV | final public static byte | FLOAD | final public static byte | FLOAD_0 | final public static byte | FLOAD_1 | final public static byte | FLOAD_2 | final public static byte | FLOAD_3 | final public static byte | FMUL | final public static byte | FNEG | final public static byte | FREM | final public static byte | FRETURN | final public static byte | FSTORE | final public static byte | FSTORE_0 | final public static byte | FSTORE_1 | final public static byte | FSTORE_2 | final public static byte | FSTORE_3 | final public static byte | FSUB | final public static byte | GETFIELD | final public static byte | GETSTATIC | final public static byte | GOTO | final public static byte | GOTO_W | final public static byte | I2B | final public static byte | I2C | final public static byte | I2D | final public static byte | I2F | final public static byte | I2L | final public static byte | I2S | final public static byte | IADD | final public static byte | IALOAD | final public static byte | IAND | final public static byte | IASTORE | final public static byte | ICONST_0 | final public static byte | ICONST_1 | final public static byte | ICONST_2 | final public static byte | ICONST_3 | final public static byte | ICONST_4 | final public static byte | ICONST_5 | final public static byte | ICONST_M1 | final public static byte | IDIV | final public static byte | IFEQ | final public static byte | IFGE | final public static byte | IFGT | final public static byte | IFLE | final public static byte | IFLT | final public static byte | IFNE | final public static byte | IFNONNULL | final public static byte | IFNULL | final public static byte | IF_ACMPEQ | final public static byte | IF_ACMPNE | final public static byte | IF_ICMPEQ | final public static byte | IF_ICMPGE | final public static byte | IF_ICMPGT | final public static byte | IF_ICMPLE | final public static byte | IF_ICMPLT | final public static byte | IF_ICMPNE | final public static byte | IINC | final public static byte | ILOAD | final public static byte | ILOAD_0 | final public static byte | ILOAD_1 | final public static byte | ILOAD_2 | final public static byte | ILOAD_3 | final public static byte | IMUL | final public static byte | INEG | final public static byte | INSTANCEOF | final public static byte | INVOKEINTERFACE | final public static byte | INVOKESPECIAL | final public static byte | INVOKESTATIC | final public static byte | INVOKEVIRTUAL | final public static byte | IOR | final public static byte | IREM | final public static byte | IRETURN | final public static byte | ISHL | final public static byte | ISHR | final public static byte | ISTORE | final public static byte | ISTORE_0 | final public static byte | ISTORE_1 | final public static byte | ISTORE_2 | final public static byte | ISTORE_3 | final public static byte | ISUB | final public static byte | IUSHR | final public static byte | IXOR | final public static byte | JSR | final public static byte | JSR_W | final public static byte | L2D | final public static byte | L2F | final public static byte | L2I | final public static byte | LADD | final public static byte | LALOAD | final public static byte | LAND | final public static byte | LASTORE | final public static byte | LCMP | final public static byte | LCONST_0 | final public static byte | LCONST_1 | final public static byte | LDC | final public static byte | LDC2_W | final public static byte | LDC_W | final public static byte | LDIV | final public static byte | LLOAD | final public static byte | LLOAD_0 | final public static byte | LLOAD_1 | final public static byte | LLOAD_2 | final public static byte | LLOAD_3 | final public static byte | LMUL | final public static byte | LNEG | final public static byte | LOOKUPSWITCH | final public static byte | LOR | final public static byte | LREM | final public static byte | LRETURN | final public static byte | LSHL | final public static byte | LSHR | final public static byte | LSTORE | final public static byte | LSTORE_0 | final public static byte | LSTORE_1 | final public static byte | LSTORE_2 | final public static byte | LSTORE_3 | final public static byte | LSUB | final public static byte | LUSHR | final public static byte | LXOR | final public static byte | MONITORENTER | final public static byte | MONITOREXIT | final public static byte | MULTIANEWARRAY | final public static byte | NEW | final public static byte | NEWARRAY | final public static byte | NOP | final public static byte | POP | final public static byte | POP2 | final public static byte | PUTFIELD | final public static byte | PUTSTATIC | final public static byte | RET | final public static byte | RETURN | final public static byte | SALOAD | final public static byte | SASTORE | final public static byte | SIPUSH | final public static byte | SWAP | final public static byte | TABLESWITCH | final public static byte | UNUSED | final public static byte | WIDE |
Method Summary | |
final public static boolean | canThrowException(byte opcode) Returns true if the given opcode can throw an exception at runtime. | final public static String | getMnemonic(byte opcode) | final public static byte | reverseIfOpcode(byte opcode) Reverses the condition for an "if" opcode. |
AALOAD | final public static byte AALOAD(Code) | | |
AASTORE | final public static byte AASTORE(Code) | | |
ACONST_NULL | final public static byte ACONST_NULL(Code) | | |
ALOAD | final public static byte ALOAD(Code) | | |
ALOAD_0 | final public static byte ALOAD_0(Code) | | |
ALOAD_1 | final public static byte ALOAD_1(Code) | | |
ALOAD_2 | final public static byte ALOAD_2(Code) | | |
ALOAD_3 | final public static byte ALOAD_3(Code) | | |
ANEWARRAY | final public static byte ANEWARRAY(Code) | | |
ARETURN | final public static byte ARETURN(Code) | | |
ARRAYLENGTH | final public static byte ARRAYLENGTH(Code) | | |
ASTORE | final public static byte ASTORE(Code) | | |
ASTORE_0 | final public static byte ASTORE_0(Code) | | |
ASTORE_1 | final public static byte ASTORE_1(Code) | | |
ASTORE_2 | final public static byte ASTORE_2(Code) | | |
ASTORE_3 | final public static byte ASTORE_3(Code) | | |
ATHROW | final public static byte ATHROW(Code) | | |
BALOAD | final public static byte BALOAD(Code) | | |
BASTORE | final public static byte BASTORE(Code) | | |
BIPUSH | final public static byte BIPUSH(Code) | | |
BREAKPOINT | final public static byte BREAKPOINT(Code) | | |
CALOAD | final public static byte CALOAD(Code) | | |
CASTORE | final public static byte CASTORE(Code) | | |
CHECKCAST | final public static byte CHECKCAST(Code) | | |
D2F | final public static byte D2F(Code) | | |
D2I | final public static byte D2I(Code) | | |
D2L | final public static byte D2L(Code) | | |
DADD | final public static byte DADD(Code) | | |
DALOAD | final public static byte DALOAD(Code) | | |
DASTORE | final public static byte DASTORE(Code) | | |
DCMPG | final public static byte DCMPG(Code) | | |
DCMPL | final public static byte DCMPL(Code) | | |
DCONST_0 | final public static byte DCONST_0(Code) | | |
DCONST_1 | final public static byte DCONST_1(Code) | | |
DDIV | final public static byte DDIV(Code) | | |
DLOAD | final public static byte DLOAD(Code) | | |
DLOAD_0 | final public static byte DLOAD_0(Code) | | |
DLOAD_1 | final public static byte DLOAD_1(Code) | | |
DLOAD_2 | final public static byte DLOAD_2(Code) | | |
DLOAD_3 | final public static byte DLOAD_3(Code) | | |
DMUL | final public static byte DMUL(Code) | | |
DNEG | final public static byte DNEG(Code) | | |
DREM | final public static byte DREM(Code) | | |
DRETURN | final public static byte DRETURN(Code) | | |
DSTORE | final public static byte DSTORE(Code) | | |
DSTORE_0 | final public static byte DSTORE_0(Code) | | |
DSTORE_1 | final public static byte DSTORE_1(Code) | | |
DSTORE_2 | final public static byte DSTORE_2(Code) | | |
DSTORE_3 | final public static byte DSTORE_3(Code) | | |
DSUB | final public static byte DSUB(Code) | | |
DUP | final public static byte DUP(Code) | | |
DUP2 | final public static byte DUP2(Code) | | |
DUP2_X1 | final public static byte DUP2_X1(Code) | | |
DUP2_X2 | final public static byte DUP2_X2(Code) | | |
DUP_X1 | final public static byte DUP_X1(Code) | | |
DUP_X2 | final public static byte DUP_X2(Code) | | |
F2D | final public static byte F2D(Code) | | |
F2I | final public static byte F2I(Code) | | |
F2L | final public static byte F2L(Code) | | |
FADD | final public static byte FADD(Code) | | |
FALOAD | final public static byte FALOAD(Code) | | |
FASTORE | final public static byte FASTORE(Code) | | |
FCMPG | final public static byte FCMPG(Code) | | |
FCMPL | final public static byte FCMPL(Code) | | |
FCONST_0 | final public static byte FCONST_0(Code) | | |
FCONST_1 | final public static byte FCONST_1(Code) | | |
FCONST_2 | final public static byte FCONST_2(Code) | | |
FDIV | final public static byte FDIV(Code) | | |
FLOAD | final public static byte FLOAD(Code) | | |
FLOAD_0 | final public static byte FLOAD_0(Code) | | |
FLOAD_1 | final public static byte FLOAD_1(Code) | | |
FLOAD_2 | final public static byte FLOAD_2(Code) | | |
FLOAD_3 | final public static byte FLOAD_3(Code) | | |
FMUL | final public static byte FMUL(Code) | | |
FNEG | final public static byte FNEG(Code) | | |
FREM | final public static byte FREM(Code) | | |
FRETURN | final public static byte FRETURN(Code) | | |
FSTORE | final public static byte FSTORE(Code) | | |
FSTORE_0 | final public static byte FSTORE_0(Code) | | |
FSTORE_1 | final public static byte FSTORE_1(Code) | | |
FSTORE_2 | final public static byte FSTORE_2(Code) | | |
FSTORE_3 | final public static byte FSTORE_3(Code) | | |
FSUB | final public static byte FSUB(Code) | | |
GETFIELD | final public static byte GETFIELD(Code) | | |
GETSTATIC | final public static byte GETSTATIC(Code) | | |
GOTO | final public static byte GOTO(Code) | | |
GOTO_W | final public static byte GOTO_W(Code) | | |
I2B | final public static byte I2B(Code) | | |
I2C | final public static byte I2C(Code) | | |
I2D | final public static byte I2D(Code) | | |
I2F | final public static byte I2F(Code) | | |
I2L | final public static byte I2L(Code) | | |
I2S | final public static byte I2S(Code) | | |
IADD | final public static byte IADD(Code) | | |
IALOAD | final public static byte IALOAD(Code) | | |
IAND | final public static byte IAND(Code) | | |
IASTORE | final public static byte IASTORE(Code) | | |
ICONST_0 | final public static byte ICONST_0(Code) | | |
ICONST_1 | final public static byte ICONST_1(Code) | | |
ICONST_2 | final public static byte ICONST_2(Code) | | |
ICONST_3 | final public static byte ICONST_3(Code) | | |
ICONST_4 | final public static byte ICONST_4(Code) | | |
ICONST_5 | final public static byte ICONST_5(Code) | | |
ICONST_M1 | final public static byte ICONST_M1(Code) | | |
IDIV | final public static byte IDIV(Code) | | |
IFEQ | final public static byte IFEQ(Code) | | |
IFGE | final public static byte IFGE(Code) | | |
IFGT | final public static byte IFGT(Code) | | |
IFLE | final public static byte IFLE(Code) | | |
IFLT | final public static byte IFLT(Code) | | |
IFNE | final public static byte IFNE(Code) | | |
IFNONNULL | final public static byte IFNONNULL(Code) | | |
IFNULL | final public static byte IFNULL(Code) | | |
IF_ACMPEQ | final public static byte IF_ACMPEQ(Code) | | |
IF_ACMPNE | final public static byte IF_ACMPNE(Code) | | |
IF_ICMPEQ | final public static byte IF_ICMPEQ(Code) | | |
IF_ICMPGE | final public static byte IF_ICMPGE(Code) | | |
IF_ICMPGT | final public static byte IF_ICMPGT(Code) | | |
IF_ICMPLE | final public static byte IF_ICMPLE(Code) | | |
IF_ICMPLT | final public static byte IF_ICMPLT(Code) | | |
IF_ICMPNE | final public static byte IF_ICMPNE(Code) | | |
IINC | final public static byte IINC(Code) | | |
ILOAD | final public static byte ILOAD(Code) | | |
ILOAD_0 | final public static byte ILOAD_0(Code) | | |
ILOAD_1 | final public static byte ILOAD_1(Code) | | |
ILOAD_2 | final public static byte ILOAD_2(Code) | | |
ILOAD_3 | final public static byte ILOAD_3(Code) | | |
IMUL | final public static byte IMUL(Code) | | |
INEG | final public static byte INEG(Code) | | |
INSTANCEOF | final public static byte INSTANCEOF(Code) | | |
INVOKEINTERFACE | final public static byte INVOKEINTERFACE(Code) | | |
INVOKESPECIAL | final public static byte INVOKESPECIAL(Code) | | |
INVOKESTATIC | final public static byte INVOKESTATIC(Code) | | |
INVOKEVIRTUAL | final public static byte INVOKEVIRTUAL(Code) | | |
IOR | final public static byte IOR(Code) | | |
IREM | final public static byte IREM(Code) | | |
IRETURN | final public static byte IRETURN(Code) | | |
ISHL | final public static byte ISHL(Code) | | |
ISHR | final public static byte ISHR(Code) | | |
ISTORE | final public static byte ISTORE(Code) | | |
ISTORE_0 | final public static byte ISTORE_0(Code) | | |
ISTORE_1 | final public static byte ISTORE_1(Code) | | |
ISTORE_2 | final public static byte ISTORE_2(Code) | | |
ISTORE_3 | final public static byte ISTORE_3(Code) | | |
ISUB | final public static byte ISUB(Code) | | |
IUSHR | final public static byte IUSHR(Code) | | |
IXOR | final public static byte IXOR(Code) | | |
JSR | final public static byte JSR(Code) | | |
JSR_W | final public static byte JSR_W(Code) | | |
L2D | final public static byte L2D(Code) | | |
L2F | final public static byte L2F(Code) | | |
L2I | final public static byte L2I(Code) | | |
LADD | final public static byte LADD(Code) | | |
LALOAD | final public static byte LALOAD(Code) | | |
LAND | final public static byte LAND(Code) | | |
LASTORE | final public static byte LASTORE(Code) | | |
LCMP | final public static byte LCMP(Code) | | |
LCONST_0 | final public static byte LCONST_0(Code) | | |
LCONST_1 | final public static byte LCONST_1(Code) | | |
LDC | final public static byte LDC(Code) | | |
LDC2_W | final public static byte LDC2_W(Code) | | |
LDC_W | final public static byte LDC_W(Code) | | |
LDIV | final public static byte LDIV(Code) | | |
LLOAD | final public static byte LLOAD(Code) | | |
LLOAD_0 | final public static byte LLOAD_0(Code) | | |
LLOAD_1 | final public static byte LLOAD_1(Code) | | |
LLOAD_2 | final public static byte LLOAD_2(Code) | | |
LLOAD_3 | final public static byte LLOAD_3(Code) | | |
LMUL | final public static byte LMUL(Code) | | |
LNEG | final public static byte LNEG(Code) | | |
LOOKUPSWITCH | final public static byte LOOKUPSWITCH(Code) | | |
LOR | final public static byte LOR(Code) | | |
LREM | final public static byte LREM(Code) | | |
LRETURN | final public static byte LRETURN(Code) | | |
LSHL | final public static byte LSHL(Code) | | |
LSHR | final public static byte LSHR(Code) | | |
LSTORE | final public static byte LSTORE(Code) | | |
LSTORE_0 | final public static byte LSTORE_0(Code) | | |
LSTORE_1 | final public static byte LSTORE_1(Code) | | |
LSTORE_2 | final public static byte LSTORE_2(Code) | | |
LSTORE_3 | final public static byte LSTORE_3(Code) | | |
LSUB | final public static byte LSUB(Code) | | |
LUSHR | final public static byte LUSHR(Code) | | |
LXOR | final public static byte LXOR(Code) | | |
MONITORENTER | final public static byte MONITORENTER(Code) | | |
MONITOREXIT | final public static byte MONITOREXIT(Code) | | |
MULTIANEWARRAY | final public static byte MULTIANEWARRAY(Code) | | |
NEW | final public static byte NEW(Code) | | |
NEWARRAY | final public static byte NEWARRAY(Code) | | |
NOP | final public static byte NOP(Code) | | |
POP | final public static byte POP(Code) | | |
POP2 | final public static byte POP2(Code) | | |
PUTFIELD | final public static byte PUTFIELD(Code) | | |
PUTSTATIC | final public static byte PUTSTATIC(Code) | | |
RET | final public static byte RET(Code) | | |
RETURN | final public static byte RETURN(Code) | | |
SALOAD | final public static byte SALOAD(Code) | | |
SASTORE | final public static byte SASTORE(Code) | | |
SIPUSH | final public static byte SIPUSH(Code) | | |
SWAP | final public static byte SWAP(Code) | | |
TABLESWITCH | final public static byte TABLESWITCH(Code) | | |
UNUSED | final public static byte UNUSED(Code) | | |
WIDE | final public static byte WIDE(Code) | | |
canThrowException | final public static boolean canThrowException(byte opcode)(Code) | | Returns true if the given opcode can throw an exception at runtime.
|
reverseIfOpcode | final public static byte reverseIfOpcode(byte opcode)(Code) | | Reverses the condition for an "if" opcode. For example, IFEQ is changed
to IFNE.
|
|
|
|