This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push: new 93d1e13b No need for so much duplication (PMD CPD) 93d1e13b is described below commit 93d1e13bf4db24ead11e06e81f4a49845bd1e1a8 Author: Gary David Gregory (Code signing key) <ggreg...@apache.org> AuthorDate: Sat Oct 29 09:49:29 2022 -0400 No need for so much duplication (PMD CPD) --- src/main/java/org/apache/bcel/Const.java | 10 +- src/main/java/org/apache/bcel/Constants.java | 788 +++++++++------------ .../org/apache/bcel/generic/InstructionConst.java | 2 +- .../apache/bcel/generic/InstructionConstants.java | 355 ++++------ 4 files changed, 457 insertions(+), 698 deletions(-) diff --git a/src/main/java/org/apache/bcel/Const.java b/src/main/java/org/apache/bcel/Const.java index 1e036bff..44cba6db 100644 --- a/src/main/java/org/apache/bcel/Const.java +++ b/src/main/java/org/apache/bcel/Const.java @@ -2825,7 +2825,7 @@ public final class Const { * Number of byte code operands for each opcode, i.e., number of bytes after the tag byte itself. Indexed by opcode, so * NO_OF_OPERANDS[BIPUSH] = the number of operands for a bipush instruction. */ - private static final short[] NO_OF_OPERANDS = {0/* nop */, 0/* aconst_null */, 0/* iconst_m1 */, 0/* iconst_0 */, 0/* iconst_1 */, 0/* iconst_2 */, + static final short[] NO_OF_OPERANDS = {0/* nop */, 0/* aconst_null */, 0/* iconst_m1 */, 0/* iconst_0 */, 0/* iconst_1 */, 0/* iconst_2 */, 0/* iconst_3 */, 0/* iconst_4 */, 0/* iconst_5 */, 0/* lconst_0 */, 0/* lconst_1 */, 0/* fconst_0 */, 0/* fconst_1 */, 0/* fconst_2 */, 0/* dconst_0 */, 0/* dconst_1 */, 1/* bipush */, 2/* sipush */, 1/* ldc */, 2/* ldc_w */, 2/* ldc2_w */, 1/* iload */, 1/* lload */, 1/* fload */, 1/* dload */, 1/* aload */, 0/* iload_0 */, 0/* iload_1 */, 0/* iload_2 */, 0/* iload_3 */, 0/* lload_0 */, 0/* lload_1 */, 0/* lload_2 */, 0/* lload_3 */, @@ -2858,7 +2858,7 @@ public final class Const { * How the byte code operands are to be interpreted for each opcode. Indexed by opcode. TYPE_OF_OPERANDS[ILOAD] = an * array of shorts describing the data types for the instruction. */ - private static final short[][] TYPE_OF_OPERANDS = {{}/* nop */, {}/* aconst_null */, {}/* iconst_m1 */, {}/* iconst_0 */, {}/* iconst_1 */, + static final short[][] TYPE_OF_OPERANDS = {{}/* nop */, {}/* aconst_null */, {}/* iconst_m1 */, {}/* iconst_0 */, {}/* iconst_1 */, {}/* iconst_2 */, {}/* iconst_3 */, {}/* iconst_4 */, {}/* iconst_5 */, {}/* lconst_0 */, {}/* lconst_1 */, {}/* fconst_0 */, {}/* fconst_1 */, {}/* fconst_2 */, {}/* dconst_0 */, {}/* dconst_1 */, {T_BYTE}/* bipush */, {T_SHORT}/* sipush */, {T_BYTE}/* ldc */, {T_SHORT}/* ldc_w */, {T_SHORT}/* ldc2_w */, {T_BYTE}/* iload */, {T_BYTE}/* lload */, {T_BYTE}/* fload */, {T_BYTE}/* dload */, {T_BYTE}/* aload */, {}/* iload_0 */, @@ -2891,7 +2891,7 @@ public final class Const { /** * Names of opcodes. Indexed by opcode. OPCODE_NAMES[ALOAD] = "aload". */ - private static final String[] OPCODE_NAMES = {"nop", "aconst_null", "iconst_m1", "iconst_0", "iconst_1", "iconst_2", "iconst_3", "iconst_4", "iconst_5", + static final String[] OPCODE_NAMES = {"nop", "aconst_null", "iconst_m1", "iconst_0", "iconst_1", "iconst_2", "iconst_3", "iconst_4", "iconst_5", "lconst_0", "lconst_1", "fconst_0", "fconst_1", "fconst_2", "dconst_0", "dconst_1", "bipush", "sipush", "ldc", "ldc_w", "ldc2_w", "iload", "lload", "fload", "dload", "aload", "iload_0", "iload_1", "iload_2", "iload_3", "lload_0", "lload_1", "lload_2", "lload_3", "fload_0", "fload_1", "fload_2", "fload_3", "dload_0", "dload_1", "dload_2", "dload_3", "aload_0", "aload_1", "aload_2", "aload_3", "iaload", "laload", "faload", "daload", "aaload", @@ -2922,7 +2922,7 @@ public final class Const { * Number of words consumed on operand stack by instructions. Indexed by opcode. CONSUME_STACK[FALOAD] = number of words * consumed from the stack by a faload instruction. */ - private static final int[] CONSUME_STACK = {0/* nop */, 0/* aconst_null */, 0/* iconst_m1 */, 0/* iconst_0 */, 0/* iconst_1 */, 0/* iconst_2 */, + static final int[] CONSUME_STACK = {0/* nop */, 0/* aconst_null */, 0/* iconst_m1 */, 0/* iconst_0 */, 0/* iconst_1 */, 0/* iconst_2 */, 0/* iconst_3 */, 0/* iconst_4 */, 0/* iconst_5 */, 0/* lconst_0 */, 0/* lconst_1 */, 0/* fconst_0 */, 0/* fconst_1 */, 0/* fconst_2 */, 0/* dconst_0 */, 0/* dconst_1 */, 0/* bipush */, 0/* sipush */, 0/* ldc */, 0/* ldc_w */, 0/* ldc2_w */, 0/* iload */, 0/* lload */, 0/* fload */, 0/* dload */, 0/* aload */, 0/* iload_0 */, 0/* iload_1 */, 0/* iload_2 */, 0/* iload_3 */, 0/* lload_0 */, 0/* lload_1 */, 0/* lload_2 */, 0/* lload_3 */, @@ -2955,7 +2955,7 @@ public final class Const { * Number of words produced onto operand stack by instructions. Indexed by opcode. CONSUME_STACK[DALOAD] = number of * words consumed from the stack by a daload instruction. */ - private static final int[] PRODUCE_STACK = {0/* nop */, 1/* aconst_null */, 1/* iconst_m1 */, 1/* iconst_0 */, 1/* iconst_1 */, 1/* iconst_2 */, + static final int[] PRODUCE_STACK = {0/* nop */, 1/* aconst_null */, 1/* iconst_m1 */, 1/* iconst_0 */, 1/* iconst_1 */, 1/* iconst_2 */, 1/* iconst_3 */, 1/* iconst_4 */, 1/* iconst_5 */, 2/* lconst_0 */, 2/* lconst_1 */, 1/* fconst_0 */, 1/* fconst_1 */, 1/* fconst_2 */, 2/* dconst_0 */, 2/* dconst_1 */, 1/* bipush */, 1/* sipush */, 1/* ldc */, 1/* ldc_w */, 2/* ldc2_w */, 1/* iload */, 2/* lload */, 1/* fload */, 2/* dload */, 1/* aload */, 1/* iload_0 */, 1/* iload_1 */, 1/* iload_2 */, 1/* iload_3 */, 2/* lload_0 */, 2/* lload_1 */, 2/* lload_2 */, 2/* lload_3 */, diff --git a/src/main/java/org/apache/bcel/Constants.java b/src/main/java/org/apache/bcel/Constants.java index 082adbaa..e3e73347 100644 --- a/src/main/java/org/apache/bcel/Constants.java +++ b/src/main/java/org/apache/bcel/Constants.java @@ -29,94 +29,94 @@ public interface Constants { * * @see #MINOR_1_1 */ - short MAJOR_1_1 = 45; + short MAJOR_1_1 = Const.MAJOR_1_1; /** * Minor version number of class files for Java 1.1. * * @see #MAJOR_1_1 */ - short MINOR_1_1 = 3; + short MINOR_1_1 = Const.MINOR_1_1; /** * Major version number of class files for Java 1.2. * * @see #MINOR_1_2 */ - short MAJOR_1_2 = 46; + short MAJOR_1_2 = Const.MAJOR_1_2; /** * Minor version number of class files for Java 1.2. * * @see #MAJOR_1_2 */ - short MINOR_1_2 = 0; + short MINOR_1_2 = Const.MINOR_1_2; /** * Major version number of class files for Java 1.2. * * @see #MINOR_1_2 */ - short MAJOR_1_3 = 47; + short MAJOR_1_3 = Const.MAJOR_1_3; /** * Minor version number of class files for Java 1.3. * * @see #MAJOR_1_3 */ - short MINOR_1_3 = 0; + short MINOR_1_3 = Const.MINOR_1_3; /** * Major version number of class files for Java 1.3. * * @see #MINOR_1_3 */ - short MAJOR_1_4 = 48; + short MAJOR_1_4 = Const.MAJOR_1_4; /** * Minor version number of class files for Java 1.4. * * @see #MAJOR_1_4 */ - short MINOR_1_4 = 0; + short MINOR_1_4 = Const.MINOR_1_4; /** * Major version number of class files for Java 1.4. * * @see #MINOR_1_4 */ - short MAJOR_1_5 = 49; + short MAJOR_1_5 = Const.MAJOR_1_5; /** * Minor version number of class files for Java 1.5. * * @see #MAJOR_1_5 */ - short MINOR_1_5 = 0; + short MINOR_1_5 = Const.MINOR_1_5; /** * Default major version number. Class file is for Java 1.1. * * @see #MAJOR_1_1 */ - short MAJOR = MAJOR_1_1; + short MAJOR = Const.MAJOR; /** * Default major version number. Class file is for Java 1.1. * * @see #MAJOR_1_1 */ - short MINOR = MINOR_1_1; + short MINOR = Const.MINOR; /** * Maximum value for an unsigned short. */ - int MAX_SHORT = 65535; // 2^16 - 1 + int MAX_SHORT = Const.MAX_SHORT; // 2^16 - 1 /** * Maximum value for an unsigned byte. */ - int MAX_BYTE = 255; // 2^8 - 1 + int MAX_BYTE = Const.MAX_BYTE; // 2^8 - 1 /** * One of the access flags for fields, methods, or classes. @@ -128,119 +128,119 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.6-300-D.1-D.1"> Flag * definitions for Classes in the Java Virtual Machine Specification (Java SE 8 Edition).</a> */ - short ACC_PUBLIC = 0x0001; + short ACC_PUBLIC = Const.ACC_PUBLIC; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_PRIVATE = 0x0002; + short ACC_PRIVATE = Const.ACC_PRIVATE; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_PROTECTED = 0x0004; + short ACC_PROTECTED = Const.ACC_PROTECTED; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_STATIC = 0x0008; + short ACC_STATIC = Const.ACC_STATIC; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_FINAL = 0x0010; + short ACC_FINAL = Const.ACC_FINAL; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_SYNCHRONIZED = 0x0020; + short ACC_SYNCHRONIZED = Const.ACC_SYNCHRONIZED; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_VOLATILE = 0x0040; + short ACC_VOLATILE = Const.ACC_VOLATILE; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_BRIDGE = 0x0040; + short ACC_BRIDGE = Const.ACC_BRIDGE; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_TRANSIENT = 0x0080; + short ACC_TRANSIENT = Const.ACC_TRANSIENT; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_VARARGS = 0x0080; + short ACC_VARARGS = Const.ACC_VARARGS; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_NATIVE = 0x0100; + short ACC_NATIVE = Const.ACC_NATIVE; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_INTERFACE = 0x0200; + short ACC_INTERFACE = Const.ACC_INTERFACE; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_ABSTRACT = 0x0400; + short ACC_ABSTRACT = Const.ACC_ABSTRACT; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_STRICT = 0x0800; + short ACC_STRICT = Const.ACC_STRICT; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_SYNTHETIC = 0x1000; + short ACC_SYNTHETIC = Const.ACC_SYNTHETIC; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_ANNOTATION = 0x2000; + short ACC_ANNOTATION = Const.ACC_ANNOTATION; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short ACC_ENUM = 0x4000; + short ACC_ENUM = Const.ACC_ENUM; // Applies to classes compiled by new compilers only /** @@ -248,51 +248,51 @@ public interface Constants { * * @see #ACC_PUBLIC */ - short ACC_SUPER = 0x0020; + short ACC_SUPER = Const.ACC_SUPER; /** * One of the access flags for fields, methods, or classes. * * @see #ACC_PUBLIC */ - short MAX_ACC_FLAG = ACC_ENUM; + short MAX_ACC_FLAG = Const.MAX_ACC_FLAG; /** The names of the access flags. */ String[] ACCESS_NAMES = {"public", "private", "protected", "static", "final", "synchronized", "volatile", "transient", "native", "interface", "abstract", "strictfp", "synthetic", "annotation", "enum"}; /** Marks a constant pool entry as type UTF-8. */ - byte CONSTANT_Utf8 = 1; + byte CONSTANT_Utf8 = Const.CONSTANT_Utf8; /** Marks a constant pool entry as type Integer. */ - byte CONSTANT_Integer = 3; + byte CONSTANT_Integer = Const.CONSTANT_Integer; /** Marks a constant pool entry as type Float. */ - byte CONSTANT_Float = 4; + byte CONSTANT_Float = Const.CONSTANT_Float; /** Marks a constant pool entry as type Long. */ - byte CONSTANT_Long = 5; + byte CONSTANT_Long = Const.CONSTANT_Long; /** Marks a constant pool entry as type Double. */ - byte CONSTANT_Double = 6; + byte CONSTANT_Double = Const.CONSTANT_Double; /** Marks a constant pool entry as a Class. */ - byte CONSTANT_Class = 7; + byte CONSTANT_Class = Const.CONSTANT_Class; /** Marks a constant pool entry as a Field Reference. */ - byte CONSTANT_Fieldref = 9; + byte CONSTANT_Fieldref = Const.CONSTANT_Fieldref; /** Marks a constant pool entry as type String. */ - byte CONSTANT_String = 8; + byte CONSTANT_String = Const.CONSTANT_String; /** Marks a constant pool entry as a Method Reference. */ - byte CONSTANT_Methodref = 10; + byte CONSTANT_Methodref = Const.CONSTANT_Methodref; /** Marks a constant pool entry as an Interface Method Reference. */ - byte CONSTANT_InterfaceMethodref = 11; + byte CONSTANT_InterfaceMethodref = Const.CONSTANT_InterfaceMethodref; /** Marks a constant pool entry as a name and type. */ - byte CONSTANT_NameAndType = 12; + byte CONSTANT_NameAndType = Const.CONSTANT_NameAndType; /** The names of the types of entries in a constant pool. */ String[] CONSTANT_NAMES = {"", "CONSTANT_Utf8", "", "CONSTANT_Integer", "CONSTANT_Float", "CONSTANT_Long", "CONSTANT_Double", "CONSTANT_Class", @@ -302,13 +302,13 @@ public interface Constants { * The name of the static initializer, also called "class initialization method" or "interface * initialization method". This is "<clinit>". */ - String STATIC_INITIALIZER_NAME = "<clinit>"; + String STATIC_INITIALIZER_NAME = Const.STATIC_INITIALIZER_NAME; /** * The name of every constructor method in a class, also called "instance initialization method". This is * "<init>". */ - String CONSTRUCTOR_NAME = "<init>"; + String CONSTRUCTOR_NAME = Const.CONSTRUCTOR_NAME; /** The names of the interfaces implemented by arrays */ String[] INTERFACES_IMPLEMENTED_BY_ARRAYS = {"java.lang.Cloneable", "java.io.Serializable"}; @@ -319,7 +319,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.11"> The Java Virtual Machine * Specification, Second Edition, page 152, chapter 4.10.</a> */ - int MAX_CP_ENTRIES = 65535; + int MAX_CP_ENTRIES = Const.MAX_CP_ENTRIES; /** * One of the limitations of the Java Virtual Machine. @@ -327,7 +327,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.11"> The Java Virtual Machine * Specification, Second Edition, page 152, chapter 4.10.</a> */ - int MAX_CODE_SIZE = 65536; // bytes + int MAX_CODE_SIZE = Const.MAX_CODE_SIZE; // bytes /** * Java VM opcode. @@ -335,7 +335,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short NOP = 0; + short NOP = Const.NOP; /** * Java VM opcode. @@ -343,7 +343,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ACONST_NULL = 1; + short ACONST_NULL = Const.ACONST_NULL; /** * Java VM opcode. @@ -351,7 +351,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ICONST_M1 = 2; + short ICONST_M1 = Const.ICONST_M1; /** * Java VM opcode. @@ -359,7 +359,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ICONST_0 = 3; + short ICONST_0 = Const.ICONST_0; /** * Java VM opcode. @@ -367,7 +367,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ICONST_1 = 4; + short ICONST_1 = Const.ICONST_1; /** * Java VM opcode. @@ -375,7 +375,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ICONST_2 = 5; + short ICONST_2 = Const.ICONST_2; /** * Java VM opcode. @@ -383,7 +383,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ICONST_3 = 6; + short ICONST_3 = Const.ICONST_3; /** * Java VM opcode. @@ -391,7 +391,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ICONST_4 = 7; + short ICONST_4 = Const.ICONST_4; /** * Java VM opcode. @@ -399,7 +399,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ICONST_5 = 8; + short ICONST_5 = Const.ICONST_5; /** * Java VM opcode. @@ -407,7 +407,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LCONST_0 = 9; + short LCONST_0 = Const.LCONST_0; /** * Java VM opcode. @@ -415,7 +415,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LCONST_1 = 10; + short LCONST_1 = Const.LCONST_1; /** * Java VM opcode. @@ -423,7 +423,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FCONST_0 = 11; + short FCONST_0 = Const.FCONST_0; /** * Java VM opcode. @@ -431,7 +431,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FCONST_1 = 12; + short FCONST_1 = Const.FCONST_1; /** * Java VM opcode. @@ -439,7 +439,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FCONST_2 = 13; + short FCONST_2 = Const.FCONST_2; /** * Java VM opcode. @@ -447,7 +447,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DCONST_0 = 14; + short DCONST_0 = Const.DCONST_0; /** * Java VM opcode. @@ -455,7 +455,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DCONST_1 = 15; + short DCONST_1 = Const.DCONST_1; /** * Java VM opcode. @@ -463,7 +463,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short BIPUSH = 16; + short BIPUSH = Const.BIPUSH; /** * Java VM opcode. @@ -471,7 +471,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short SIPUSH = 17; + short SIPUSH = Const.SIPUSH; /** * Java VM opcode. @@ -479,7 +479,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LDC = 18; + short LDC = Const.LDC; /** * Java VM opcode. @@ -487,7 +487,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LDC_W = 19; + short LDC_W = Const.LDC_W; /** * Java VM opcode. @@ -495,7 +495,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LDC2_W = 20; + short LDC2_W = Const.LDC2_W; /** * Java VM opcode. @@ -503,7 +503,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ILOAD = 21; + short ILOAD = Const.ILOAD; /** * Java VM opcode. @@ -511,7 +511,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LLOAD = 22; + short LLOAD = Const.LLOAD; /** * Java VM opcode. @@ -519,7 +519,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FLOAD = 23; + short FLOAD = Const.FLOAD; /** * Java VM opcode. @@ -527,7 +527,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DLOAD = 24; + short DLOAD = Const.DLOAD; /** * Java VM opcode. @@ -535,7 +535,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ALOAD = 25; + short ALOAD = Const.ALOAD; /** * Java VM opcode. @@ -543,7 +543,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ILOAD_0 = 26; + short ILOAD_0 = Const.ILOAD_0; /** * Java VM opcode. @@ -551,7 +551,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ILOAD_1 = 27; + short ILOAD_1 = Const.ILOAD_1; /** * Java VM opcode. @@ -559,7 +559,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ILOAD_2 = 28; + short ILOAD_2 = Const.ILOAD_2; /** * Java VM opcode. @@ -567,7 +567,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ILOAD_3 = 29; + short ILOAD_3 = Const.ILOAD_3; /** * Java VM opcode. @@ -575,7 +575,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LLOAD_0 = 30; + short LLOAD_0 = Const.LLOAD_0; /** * Java VM opcode. @@ -583,7 +583,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LLOAD_1 = 31; + short LLOAD_1 = Const.LLOAD_1; /** * Java VM opcode. @@ -591,7 +591,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LLOAD_2 = 32; + short LLOAD_2 = Const.LLOAD_2; /** * Java VM opcode. @@ -599,7 +599,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LLOAD_3 = 33; + short LLOAD_3 = Const.LLOAD_3; /** * Java VM opcode. @@ -607,7 +607,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FLOAD_0 = 34; + short FLOAD_0 = Const.FLOAD_0; /** * Java VM opcode. @@ -615,7 +615,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FLOAD_1 = 35; + short FLOAD_1 = Const.FLOAD_1; /** * Java VM opcode. @@ -623,7 +623,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FLOAD_2 = 36; + short FLOAD_2 = Const.FLOAD_2; /** * Java VM opcode. @@ -631,7 +631,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FLOAD_3 = 37; + short FLOAD_3 = Const.FLOAD_3; /** * Java VM opcode. @@ -639,7 +639,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DLOAD_0 = 38; + short DLOAD_0 = Const.DLOAD_0; /** * Java VM opcode. @@ -647,7 +647,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DLOAD_1 = 39; + short DLOAD_1 = Const.DLOAD_1; /** * Java VM opcode. @@ -655,7 +655,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DLOAD_2 = 40; + short DLOAD_2 = Const.DLOAD_2; /** * Java VM opcode. @@ -663,7 +663,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DLOAD_3 = 41; + short DLOAD_3 = Const.DLOAD_3; /** * Java VM opcode. @@ -671,7 +671,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ALOAD_0 = 42; + short ALOAD_0 = Const.ALOAD_0; /** * Java VM opcode. @@ -679,7 +679,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ALOAD_1 = 43; + short ALOAD_1 = Const.ALOAD_1; /** * Java VM opcode. @@ -687,7 +687,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ALOAD_2 = 44; + short ALOAD_2 = Const.ALOAD_2; /** * Java VM opcode. @@ -695,7 +695,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ALOAD_3 = 45; + short ALOAD_3 = Const.ALOAD_3; /** * Java VM opcode. @@ -703,7 +703,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IALOAD = 46; + short IALOAD = Const.IALOAD; /** * Java VM opcode. @@ -711,7 +711,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LALOAD = 47; + short LALOAD = Const.LALOAD; /** * Java VM opcode. @@ -719,7 +719,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FALOAD = 48; + short FALOAD = Const.FALOAD; /** * Java VM opcode. @@ -727,7 +727,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DALOAD = 49; + short DALOAD = Const.DALOAD; /** * Java VM opcode. @@ -735,7 +735,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short AALOAD = 50; + short AALOAD = Const.AALOAD; /** * Java VM opcode. @@ -743,7 +743,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short BALOAD = 51; + short BALOAD = Const.BALOAD; /** * Java VM opcode. @@ -751,7 +751,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short CALOAD = 52; + short CALOAD = Const.CALOAD; /** * Java VM opcode. @@ -759,7 +759,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short SALOAD = 53; + short SALOAD = Const.SALOAD; /** * Java VM opcode. @@ -767,7 +767,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ISTORE = 54; + short ISTORE = Const.ISTORE; /** * Java VM opcode. @@ -775,7 +775,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LSTORE = 55; + short LSTORE = Const.LSTORE; /** * Java VM opcode. @@ -783,7 +783,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FSTORE = 56; + short FSTORE = Const.FSTORE; /** * Java VM opcode. @@ -791,7 +791,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DSTORE = 57; + short DSTORE = Const.DSTORE; /** * Java VM opcode. @@ -799,7 +799,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ASTORE = 58; + short ASTORE = Const.ASTORE; /** * Java VM opcode. @@ -807,7 +807,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ISTORE_0 = 59; + short ISTORE_0 = Const.ISTORE_0; /** * Java VM opcode. @@ -815,7 +815,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ISTORE_1 = 60; + short ISTORE_1 = Const.ISTORE_1; /** * Java VM opcode. @@ -823,7 +823,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ISTORE_2 = 61; + short ISTORE_2 = Const.ISTORE_2; /** * Java VM opcode. @@ -831,7 +831,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ISTORE_3 = 62; + short ISTORE_3 = Const.ISTORE_3; /** * Java VM opcode. @@ -839,7 +839,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LSTORE_0 = 63; + short LSTORE_0 = Const.LSTORE_0; /** * Java VM opcode. @@ -847,7 +847,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LSTORE_1 = 64; + short LSTORE_1 = Const.LSTORE_1; /** * Java VM opcode. @@ -855,7 +855,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LSTORE_2 = 65; + short LSTORE_2 = Const.LSTORE_2; /** * Java VM opcode. @@ -863,7 +863,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LSTORE_3 = 66; + short LSTORE_3 = Const.LSTORE_3; /** * Java VM opcode. @@ -871,7 +871,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FSTORE_0 = 67; + short FSTORE_0 = Const.FSTORE_0; /** * Java VM opcode. @@ -879,7 +879,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FSTORE_1 = 68; + short FSTORE_1 = Const.FSTORE_1; /** * Java VM opcode. @@ -887,7 +887,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FSTORE_2 = 69; + short FSTORE_2 = Const.FSTORE_2; /** * Java VM opcode. @@ -895,7 +895,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FSTORE_3 = 70; + short FSTORE_3 = Const.FSTORE_3; /** * Java VM opcode. @@ -903,7 +903,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DSTORE_0 = 71; + short DSTORE_0 = Const.DSTORE_0; /** * Java VM opcode. @@ -911,7 +911,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DSTORE_1 = 72; + short DSTORE_1 = Const.DSTORE_1; /** * Java VM opcode. @@ -919,7 +919,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DSTORE_2 = 73; + short DSTORE_2 = Const.DSTORE_2; /** * Java VM opcode. @@ -927,7 +927,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DSTORE_3 = 74; + short DSTORE_3 = Const.DSTORE_3; /** * Java VM opcode. @@ -935,7 +935,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ASTORE_0 = 75; + short ASTORE_0 = Const.ASTORE_0; /** * Java VM opcode. @@ -943,7 +943,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ASTORE_1 = 76; + short ASTORE_1 = Const.ASTORE_1; /** * Java VM opcode. @@ -951,7 +951,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ASTORE_2 = 77; + short ASTORE_2 = Const.ASTORE_2; /** * Java VM opcode. @@ -959,7 +959,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ASTORE_3 = 78; + short ASTORE_3 = Const.ASTORE_3; /** * Java VM opcode. @@ -967,7 +967,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IASTORE = 79; + short IASTORE = Const.IASTORE; /** * Java VM opcode. @@ -975,7 +975,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LASTORE = 80; + short LASTORE = Const.LASTORE; /** * Java VM opcode. @@ -983,7 +983,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FASTORE = 81; + short FASTORE = Const.FASTORE; /** * Java VM opcode. @@ -991,7 +991,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DASTORE = 82; + short DASTORE = Const.DASTORE; /** * Java VM opcode. @@ -999,7 +999,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short AASTORE = 83; + short AASTORE = Const.AASTORE; /** * Java VM opcode. @@ -1007,7 +1007,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short BASTORE = 84; + short BASTORE = Const.BASTORE; /** * Java VM opcode. @@ -1015,7 +1015,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short CASTORE = 85; + short CASTORE = Const.CASTORE; /** * Java VM opcode. @@ -1023,7 +1023,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short SASTORE = 86; + short SASTORE = Const.SASTORE; /** * Java VM opcode. @@ -1031,7 +1031,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short POP = 87; + short POP = Const.POP; /** * Java VM opcode. @@ -1039,7 +1039,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short POP2 = 88; + short POP2 = Const.POP2; /** * Java VM opcode. @@ -1047,7 +1047,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DUP = 89; + short DUP = Const.DUP; /** * Java VM opcode. @@ -1055,7 +1055,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DUP_X1 = 90; + short DUP_X1 = Const.DUP_X1; /** * Java VM opcode. @@ -1063,7 +1063,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DUP_X2 = 91; + short DUP_X2 = Const.DUP_X2; /** * Java VM opcode. @@ -1071,7 +1071,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DUP2 = 92; + short DUP2 = Const.DUP2; /** * Java VM opcode. @@ -1079,7 +1079,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DUP2_X1 = 93; + short DUP2_X1 = Const.DUP2_X1; /** * Java VM opcode. @@ -1087,7 +1087,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DUP2_X2 = 94; + short DUP2_X2 = Const.DUP2_X2; /** * Java VM opcode. @@ -1095,7 +1095,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short SWAP = 95; + short SWAP = Const.SWAP; /** * Java VM opcode. @@ -1103,7 +1103,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IADD = 96; + short IADD = Const.IADD; /** * Java VM opcode. @@ -1111,7 +1111,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LADD = 97; + short LADD = Const.LADD; /** * Java VM opcode. @@ -1119,7 +1119,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FADD = 98; + short FADD = Const.FADD; /** * Java VM opcode. @@ -1127,7 +1127,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DADD = 99; + short DADD = Const.DADD; /** * Java VM opcode. @@ -1135,7 +1135,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ISUB = 100; + short ISUB = Const.ISUB; /** * Java VM opcode. @@ -1143,7 +1143,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LSUB = 101; + short LSUB = Const.LSUB; /** * Java VM opcode. @@ -1151,7 +1151,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FSUB = 102; + short FSUB = Const.FSUB; /** * Java VM opcode. @@ -1159,7 +1159,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DSUB = 103; + short DSUB = Const.DSUB; /** * Java VM opcode. @@ -1167,7 +1167,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IMUL = 104; + short IMUL = Const.IMUL; /** * Java VM opcode. @@ -1175,7 +1175,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LMUL = 105; + short LMUL = Const.LMUL; /** * Java VM opcode. @@ -1183,7 +1183,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FMUL = 106; + short FMUL = Const.FMUL; /** * Java VM opcode. @@ -1191,7 +1191,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DMUL = 107; + short DMUL = Const.DMUL; /** * Java VM opcode. @@ -1199,7 +1199,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IDIV = 108; + short IDIV = Const.IDIV; /** * Java VM opcode. @@ -1207,7 +1207,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LDIV = 109; + short LDIV = Const.LDIV; /** * Java VM opcode. @@ -1215,7 +1215,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FDIV = 110; + short FDIV = Const.FDIV; /** * Java VM opcode. @@ -1223,7 +1223,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DDIV = 111; + short DDIV = Const.DDIV; /** * Java VM opcode. @@ -1231,7 +1231,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IREM = 112; + short IREM = Const.IREM; /** * Java VM opcode. @@ -1239,7 +1239,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LREM = 113; + short LREM = Const.LREM; /** * Java VM opcode. @@ -1247,7 +1247,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FREM = 114; + short FREM = Const.FREM; /** * Java VM opcode. @@ -1255,7 +1255,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DREM = 115; + short DREM = Const.DREM; /** * Java VM opcode. @@ -1263,7 +1263,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INEG = 116; + short INEG = Const.INEG; /** * Java VM opcode. @@ -1271,7 +1271,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LNEG = 117; + short LNEG = Const.LNEG; /** * Java VM opcode. @@ -1279,7 +1279,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FNEG = 118; + short FNEG = Const.FNEG; /** * Java VM opcode. @@ -1287,7 +1287,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DNEG = 119; + short DNEG = Const.DNEG; /** * Java VM opcode. @@ -1295,7 +1295,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ISHL = 120; + short ISHL = Const.ISHL; /** * Java VM opcode. @@ -1303,7 +1303,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LSHL = 121; + short LSHL = Const.LSHL; /** * Java VM opcode. @@ -1311,7 +1311,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ISHR = 122; + short ISHR = Const.ISHR; /** * Java VM opcode. @@ -1319,7 +1319,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LSHR = 123; + short LSHR = Const.LSHR; /** * Java VM opcode. @@ -1327,7 +1327,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IUSHR = 124; + short IUSHR = Const.IUSHR; /** * Java VM opcode. @@ -1335,7 +1335,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LUSHR = 125; + short LUSHR = Const.LUSHR; /** * Java VM opcode. @@ -1343,7 +1343,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IAND = 126; + short IAND = Const.IAND; /** * Java VM opcode. @@ -1351,7 +1351,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LAND = 127; + short LAND = Const.LAND; /** * Java VM opcode. @@ -1359,7 +1359,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IOR = 128; + short IOR = Const.IOR; /** * Java VM opcode. @@ -1367,7 +1367,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LOR = 129; + short LOR = Const.LOR; /** * Java VM opcode. @@ -1375,7 +1375,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IXOR = 130; + short IXOR = Const.IXOR; /** * Java VM opcode. @@ -1383,7 +1383,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LXOR = 131; + short LXOR = Const.LXOR; /** * Java VM opcode. @@ -1391,7 +1391,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IINC = 132; + short IINC = Const.IINC; /** * Java VM opcode. @@ -1399,7 +1399,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short I2L = 133; + short I2L = Const.I2L; /** * Java VM opcode. @@ -1407,7 +1407,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short I2F = 134; + short I2F = Const.I2F; /** * Java VM opcode. @@ -1415,7 +1415,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short I2D = 135; + short I2D = Const.I2D; /** * Java VM opcode. @@ -1423,7 +1423,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short L2I = 136; + short L2I = Const.L2I; /** * Java VM opcode. @@ -1431,7 +1431,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short L2F = 137; + short L2F = Const.L2F; /** * Java VM opcode. @@ -1439,7 +1439,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short L2D = 138; + short L2D = Const.L2D; /** * Java VM opcode. @@ -1447,7 +1447,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short F2I = 139; + short F2I = Const.F2I; /** * Java VM opcode. @@ -1455,7 +1455,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short F2L = 140; + short F2L = Const.F2L; /** * Java VM opcode. @@ -1463,7 +1463,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short F2D = 141; + short F2D = Const.F2D; /** * Java VM opcode. @@ -1471,7 +1471,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short D2I = 142; + short D2I = Const.D2I; /** * Java VM opcode. @@ -1479,7 +1479,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short D2L = 143; + short D2L = Const.D2L; /** * Java VM opcode. @@ -1487,7 +1487,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short D2F = 144; + short D2F = Const.D2F; /** * Java VM opcode. @@ -1495,7 +1495,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short I2B = 145; + short I2B = Const.I2B; /** * Java VM opcode. @@ -1503,7 +1503,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INT2BYTE = 145; // Old notion + short INT2BYTE = Const.INT2BYTE; // Old notion /** * Java VM opcode. @@ -1511,7 +1511,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short I2C = 146; + short I2C = Const.I2C; /** * Java VM opcode. @@ -1519,7 +1519,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INT2CHAR = 146; // Old notion + short INT2CHAR = Const.INT2CHAR; // Old notion /** * Java VM opcode. @@ -1527,7 +1527,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short I2S = 147; + short I2S = Const.I2S; /** * Java VM opcode. @@ -1535,7 +1535,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INT2SHORT = 147; // Old notion + short INT2SHORT = Const.INT2SHORT; // Old notion /** * Java VM opcode. @@ -1543,7 +1543,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LCMP = 148; + short LCMP = Const.LCMP; /** * Java VM opcode. @@ -1551,7 +1551,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FCMPL = 149; + short FCMPL = Const.FCMPL; /** * Java VM opcode. @@ -1559,7 +1559,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FCMPG = 150; + short FCMPG = Const.FCMPG; /** * Java VM opcode. @@ -1567,7 +1567,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DCMPL = 151; + short DCMPL = Const.DCMPL; /** * Java VM opcode. @@ -1575,7 +1575,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DCMPG = 152; + short DCMPG = Const.DCMPG; /** * Java VM opcode. @@ -1583,7 +1583,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IFEQ = 153; + short IFEQ = Const.IFEQ; /** * Java VM opcode. @@ -1591,7 +1591,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IFNE = 154; + short IFNE = Const.IFNE; /** * Java VM opcode. @@ -1599,7 +1599,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IFLT = 155; + short IFLT = Const.IFLT; /** * Java VM opcode. @@ -1607,7 +1607,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IFGE = 156; + short IFGE = Const.IFGE; /** * Java VM opcode. @@ -1615,7 +1615,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IFGT = 157; + short IFGT = Const.IFGT; /** * Java VM opcode. @@ -1623,7 +1623,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IFLE = 158; + short IFLE = Const.IFLE; /** * Java VM opcode. @@ -1631,7 +1631,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IF_ICMPEQ = 159; + short IF_ICMPEQ = Const.IF_ICMPEQ; /** * Java VM opcode. @@ -1639,7 +1639,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IF_ICMPNE = 160; + short IF_ICMPNE = Const.IF_ICMPNE; /** * Java VM opcode. @@ -1647,7 +1647,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IF_ICMPLT = 161; + short IF_ICMPLT = Const.IF_ICMPLT; /** * Java VM opcode. @@ -1655,7 +1655,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IF_ICMPGE = 162; + short IF_ICMPGE = Const.IF_ICMPGE; /** * Java VM opcode. @@ -1663,7 +1663,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IF_ICMPGT = 163; + short IF_ICMPGT = Const.IF_ICMPGT; /** * Java VM opcode. @@ -1671,7 +1671,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IF_ICMPLE = 164; + short IF_ICMPLE = Const.IF_ICMPLE; /** * Java VM opcode. @@ -1679,7 +1679,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IF_ACMPEQ = 165; + short IF_ACMPEQ = Const.IF_ACMPEQ; /** * Java VM opcode. @@ -1687,7 +1687,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IF_ACMPNE = 166; + short IF_ACMPNE = Const.IF_ACMPNE; /** * Java VM opcode. @@ -1695,7 +1695,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short GOTO = 167; + short GOTO = Const.GOTO; /** * Java VM opcode. @@ -1703,7 +1703,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short JSR = 168; + short JSR = Const.JSR; /** * Java VM opcode. @@ -1711,7 +1711,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short RET = 169; + short RET = Const.RET; /** * Java VM opcode. @@ -1719,7 +1719,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short TABLESWITCH = 170; + short TABLESWITCH = Const.TABLESWITCH; /** * Java VM opcode. @@ -1727,7 +1727,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LOOKUPSWITCH = 171; + short LOOKUPSWITCH = Const.LOOKUPSWITCH; /** * Java VM opcode. @@ -1735,7 +1735,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IRETURN = 172; + short IRETURN = Const.IRETURN; /** * Java VM opcode. @@ -1743,7 +1743,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short LRETURN = 173; + short LRETURN = Const.LRETURN; /** * Java VM opcode. @@ -1751,7 +1751,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short FRETURN = 174; + short FRETURN = Const.FRETURN; /** * Java VM opcode. @@ -1759,7 +1759,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short DRETURN = 175; + short DRETURN = Const.DRETURN; /** * Java VM opcode. @@ -1767,7 +1767,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ARETURN = 176; + short ARETURN = Const.ARETURN; /** * Java VM opcode. @@ -1775,7 +1775,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short RETURN = 177; + short RETURN = Const.RETURN; /** * Java VM opcode. @@ -1783,7 +1783,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short GETSTATIC = 178; + short GETSTATIC = Const.GETSTATIC; /** * Java VM opcode. @@ -1791,7 +1791,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short PUTSTATIC = 179; + short PUTSTATIC = Const.PUTSTATIC; /** * Java VM opcode. @@ -1799,7 +1799,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short GETFIELD = 180; + short GETFIELD = Const.GETFIELD; /** * Java VM opcode. @@ -1807,7 +1807,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short PUTFIELD = 181; + short PUTFIELD = Const.PUTFIELD; /** * Java VM opcode. @@ -1815,7 +1815,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INVOKEVIRTUAL = 182; + short INVOKEVIRTUAL = Const.INVOKEVIRTUAL; /** * Java VM opcode. @@ -1823,7 +1823,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INVOKESPECIAL = 183; + short INVOKESPECIAL = Const.INVOKESPECIAL; /** * Java VM opcode. @@ -1831,7 +1831,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INVOKENONVIRTUAL = 183; // Old name in JDK 1.0 + short INVOKENONVIRTUAL = Const.INVOKENONVIRTUAL; // Old name in JDK 1.0 /** * Java VM opcode. @@ -1839,7 +1839,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INVOKESTATIC = 184; + short INVOKESTATIC = Const.INVOKESTATIC; /** * Java VM opcode. @@ -1847,7 +1847,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INVOKEINTERFACE = 185; + short INVOKEINTERFACE = Const.INVOKEINTERFACE; /** * Java VM opcode. @@ -1855,7 +1855,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INVOKEDYNAMIC = 186; + short INVOKEDYNAMIC = Const.INVOKEDYNAMIC; /** * Java VM opcode. @@ -1863,7 +1863,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short NEW = 187; + short NEW = Const.NEW; /** * Java VM opcode. @@ -1871,7 +1871,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short NEWARRAY = 188; + short NEWARRAY = Const.NEWARRAY; /** * Java VM opcode. @@ -1879,7 +1879,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ANEWARRAY = 189; + short ANEWARRAY = Const.ANEWARRAY; /** * Java VM opcode. @@ -1887,7 +1887,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ARRAYLENGTH = 190; + short ARRAYLENGTH = Const.ARRAYLENGTH; /** * Java VM opcode. @@ -1895,7 +1895,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short ATHROW = 191; + short ATHROW = Const.ATHROW; /** * Java VM opcode. @@ -1903,7 +1903,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short CHECKCAST = 192; + short CHECKCAST = Const.CHECKCAST; /** * Java VM opcode. @@ -1911,7 +1911,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short INSTANCEOF = 193; + short INSTANCEOF = Const.INSTANCEOF; /** * Java VM opcode. @@ -1919,7 +1919,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short MONITORENTER = 194; + short MONITORENTER = Const.MONITORENTER; /** * Java VM opcode. @@ -1927,7 +1927,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short MONITOREXIT = 195; + short MONITOREXIT = Const.MONITOREXIT; /** * Java VM opcode. @@ -1935,7 +1935,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short WIDE = 196; + short WIDE = Const.WIDE; /** * Java VM opcode. @@ -1943,7 +1943,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short MULTIANEWARRAY = 197; + short MULTIANEWARRAY = Const.MULTIANEWARRAY; /** * Java VM opcode. @@ -1951,7 +1951,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IFNULL = 198; + short IFNULL = Const.IFNULL; /** * Java VM opcode. @@ -1959,7 +1959,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short IFNONNULL = 199; + short IFNONNULL = Const.IFNONNULL; /** * Java VM opcode. @@ -1967,7 +1967,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short GOTO_W = 200; + short GOTO_W = Const.GOTO_W; /** * Java VM opcode. @@ -1975,7 +1975,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5"> Opcode definitions in The * Java Virtual Machine Specification</a> */ - short JSR_W = 201; + short JSR_W = Const.JSR_W; /** * JVM internal opcode. @@ -1983,7 +1983,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.2"> Reserved opcodes in the Java * Virtual Machine Specification</a> */ - short BREAKPOINT = 202; + short BREAKPOINT = Const.BREAKPOINT; /** * JVM internal opcode. @@ -1994,7 +1994,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short LDC_QUICK = 203; + short LDC_QUICK = Const.LDC_QUICK; /** * JVM internal opcode. @@ -2005,7 +2005,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short LDC_W_QUICK = 204; + short LDC_W_QUICK = Const.LDC_W_QUICK; /** * JVM internal opcode. @@ -2016,7 +2016,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short LDC2_W_QUICK = 205; + short LDC2_W_QUICK = Const.LDC2_W_QUICK; /** * JVM internal opcode. @@ -2027,7 +2027,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short GETFIELD_QUICK = 206; + short GETFIELD_QUICK = Const.GETFIELD_QUICK; /** * JVM internal opcode. @@ -2038,7 +2038,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short PUTFIELD_QUICK = 207; + short PUTFIELD_QUICK = Const.PUTFIELD_QUICK; /** * JVM internal opcode. @@ -2049,7 +2049,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short GETFIELD2_QUICK = 208; + short GETFIELD2_QUICK = Const.GETFIELD2_QUICK; /** * JVM internal opcode. @@ -2060,7 +2060,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short PUTFIELD2_QUICK = 209; + short PUTFIELD2_QUICK = Const.PUTFIELD2_QUICK; /** * JVM internal opcode. @@ -2071,7 +2071,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short GETSTATIC_QUICK = 210; + short GETSTATIC_QUICK = Const.GETSTATIC_QUICK; /** * JVM internal opcode. @@ -2082,7 +2082,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short PUTSTATIC_QUICK = 211; + short PUTSTATIC_QUICK = Const.PUTSTATIC_QUICK; /** * JVM internal opcode. @@ -2093,7 +2093,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short GETSTATIC2_QUICK = 212; + short GETSTATIC2_QUICK = Const.GETSTATIC2_QUICK; /** * JVM internal opcode. @@ -2104,7 +2104,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short PUTSTATIC2_QUICK = 213; + short PUTSTATIC2_QUICK = Const.PUTSTATIC2_QUICK; /** * JVM internal opcode. @@ -2115,7 +2115,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short INVOKEVIRTUAL_QUICK = 214; + short INVOKEVIRTUAL_QUICK = Const.INVOKEVIRTUAL_QUICK; /** * JVM internal opcode. @@ -2126,7 +2126,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short INVOKENONVIRTUAL_QUICK = 215; + short INVOKENONVIRTUAL_QUICK = Const.INVOKENONVIRTUAL_QUICK; /** * JVM internal opcode. @@ -2137,7 +2137,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short INVOKESUPER_QUICK = 216; + short INVOKESUPER_QUICK = Const.INVOKESUPER_QUICK; /** * JVM internal opcode. @@ -2148,7 +2148,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short INVOKESTATIC_QUICK = 217; + short INVOKESTATIC_QUICK = Const.INVOKESTATIC_QUICK; /** * JVM internal opcode. @@ -2159,7 +2159,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short INVOKEINTERFACE_QUICK = 218; + short INVOKEINTERFACE_QUICK = Const.INVOKEINTERFACE_QUICK; /** * JVM internal opcode. @@ -2170,7 +2170,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short INVOKEVIRTUALOBJECT_QUICK = 219; + short INVOKEVIRTUALOBJECT_QUICK = Const.INVOKEVIRTUALOBJECT_QUICK; /** * JVM internal opcode. @@ -2181,7 +2181,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short NEW_QUICK = 221; + short NEW_QUICK = Const.NEW_QUICK; /** * JVM internal opcode. @@ -2192,7 +2192,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short ANEWARRAY_QUICK = 222; + short ANEWARRAY_QUICK = Const.ANEWARRAY_QUICK; /** * JVM internal opcode. @@ -2203,7 +2203,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short MULTIANEWARRAY_QUICK = 223; + short MULTIANEWARRAY_QUICK = Const.MULTIANEWARRAY_QUICK; /** * JVM internal opcode. @@ -2214,7 +2214,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short CHECKCAST_QUICK = 224; + short CHECKCAST_QUICK = Const.CHECKCAST_QUICK; /** * JVM internal opcode. @@ -2225,7 +2225,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short INSTANCEOF_QUICK = 225; + short INSTANCEOF_QUICK = Const.INSTANCEOF_QUICK; /** * JVM internal opcode. @@ -2236,7 +2236,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short INVOKEVIRTUAL_QUICK_W = 226; + short INVOKEVIRTUAL_QUICK_W = Const.INVOKEVIRTUAL_QUICK_W; /** * JVM internal opcode. @@ -2247,7 +2247,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short GETFIELD_QUICK_W = 227; + short GETFIELD_QUICK_W = Const.GETFIELD_QUICK_W; /** * JVM internal opcode. @@ -2258,7 +2258,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se5.0/html/ChangesAppendix.doc.html#448885"> Why the _quick * opcodes were removed from the second version of the Java Virtual Machine Specification.</a> */ - short PUTFIELD_QUICK_W = 228; + short PUTFIELD_QUICK_W = Const.PUTFIELD_QUICK_W; /** * JVM internal opcode. @@ -2266,7 +2266,7 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.2"> Reserved opcodes in the Java * Virtual Machine Specification</a> */ - short IMPDEP1 = 254; + short IMPDEP1 = Const.IMPDEP1; /** * JVM internal opcode. @@ -2274,76 +2274,76 @@ public interface Constants { * @see <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.2"> Reserved opcodes in the Java * Virtual Machine Specification</a> */ - short IMPDEP2 = 255; + short IMPDEP2 = Const.IMPDEP2; /** * BCEL virtual instruction for pushing an arbitrary data type onto the stack. Will be converted to the appropriate JVM * opcode when the class is dumped. */ - short PUSH = 4711; + short PUSH = Const.PUSH; /** * BCEL virtual instruction for either LOOKUPSWITCH or TABLESWITCH. Will be converted to the appropriate JVM opcode when * the class is dumped. */ - short SWITCH = 4712; + short SWITCH = Const.SWITCH; /** Illegal opcode. */ - short UNDEFINED = -1; + short UNDEFINED = Const.UNDEFINED; /** Illegal opcode. */ - short UNPREDICTABLE = -2; + short UNPREDICTABLE = Const.UNPREDICTABLE; /** Illegal opcode. */ - short RESERVED = -3; + short RESERVED = Const.RESERVED; /** Mnemonic for an illegal opcode. */ - String ILLEGAL_OPCODE = "<illegal opcode>"; + String ILLEGAL_OPCODE = Const.ILLEGAL_OPCODE; /** Mnemonic for an illegal type. */ - String ILLEGAL_TYPE = "<illegal type>"; + String ILLEGAL_TYPE = Const.ILLEGAL_TYPE; /** Boolean data type. */ - byte T_BOOLEAN = 4; + byte T_BOOLEAN = Const.T_BOOLEAN; /** Char data type. */ - byte T_CHAR = 5; + byte T_CHAR = Const.T_CHAR; /** Float data type. */ - byte T_FLOAT = 6; + byte T_FLOAT = Const.T_FLOAT; /** Double data type. */ - byte T_DOUBLE = 7; + byte T_DOUBLE = Const.T_DOUBLE; /** Byte data type. */ - byte T_BYTE = 8; + byte T_BYTE = Const.T_BYTE; /** Short data type. */ - byte T_SHORT = 9; + byte T_SHORT = Const.T_SHORT; /** Int data type. */ - byte T_INT = 10; + byte T_INT = Const.T_INT; /** Long data type. */ - byte T_LONG = 11; + byte T_LONG = Const.T_LONG; /** Void data type (non-standard). */ - byte T_VOID = 12; // Non-standard + byte T_VOID = Const.T_VOID; // Non-standard /** Array data type. */ - byte T_ARRAY = 13; + byte T_ARRAY = Const.T_ARRAY; /** Object data type. */ - byte T_OBJECT = 14; + byte T_OBJECT = Const.T_OBJECT; /** Reference data type (deprecated). */ - byte T_REFERENCE = 14; // Deprecated + byte T_REFERENCE = Const.T_REFERENCE; // Deprecated /** Unknown data type. */ - byte T_UNKNOWN = 15; + byte T_UNKNOWN = Const.T_UNKNOWN; /** Address data type. */ - byte T_ADDRESS = 16; + byte T_ADDRESS = Const.T_ADDRESS; /** * The primitive type names corresponding to the T_XX constants, e.g., TYPE_NAMES[T_INT] = "int" @@ -2368,175 +2368,47 @@ public interface Constants { * Number of byte code operands for each opcode, i.e., number of bytes after the tag byte itself. Indexed by opcode, so * NO_OF_OPERANDS[BIPUSH] = the number of operands for a bipush instruction. */ - short[] NO_OF_OPERANDS = {0/* nop */, 0/* aconst_null */, 0/* iconst_m1 */, 0/* iconst_0 */, 0/* iconst_1 */, 0/* iconst_2 */, 0/* iconst_3 */, - 0/* iconst_4 */, 0/* iconst_5 */, 0/* lconst_0 */, 0/* lconst_1 */, 0/* fconst_0 */, 0/* fconst_1 */, 0/* fconst_2 */, 0/* dconst_0 */, 0/* dconst_1 */, - 1/* bipush */, 2/* sipush */, 1/* ldc */, 2/* ldc_w */, 2/* ldc2_w */, 1/* iload */, 1/* lload */, 1/* fload */, 1/* dload */, 1/* aload */, - 0/* iload_0 */, 0/* iload_1 */, 0/* iload_2 */, 0/* iload_3 */, 0/* lload_0 */, 0/* lload_1 */, 0/* lload_2 */, 0/* lload_3 */, 0/* fload_0 */, - 0/* fload_1 */, 0/* fload_2 */, 0/* fload_3 */, 0/* dload_0 */, 0/* dload_1 */, 0/* dload_2 */, 0/* dload_3 */, 0/* aload_0 */, 0/* aload_1 */, - 0/* aload_2 */, 0/* aload_3 */, 0/* iaload */, 0/* laload */, 0/* faload */, 0/* daload */, 0/* aaload */, 0/* baload */, 0/* caload */, 0/* saload */, - 1/* istore */, 1/* lstore */, 1/* fstore */, 1/* dstore */, 1/* astore */, 0/* istore_0 */, 0/* istore_1 */, 0/* istore_2 */, 0/* istore_3 */, - 0/* lstore_0 */, 0/* lstore_1 */, 0/* lstore_2 */, 0/* lstore_3 */, 0/* fstore_0 */, 0/* fstore_1 */, 0/* fstore_2 */, 0/* fstore_3 */, 0/* dstore_0 */, - 0/* dstore_1 */, 0/* dstore_2 */, 0/* dstore_3 */, 0/* astore_0 */, 0/* astore_1 */, 0/* astore_2 */, 0/* astore_3 */, 0/* iastore */, 0/* lastore */, - 0/* fastore */, 0/* dastore */, 0/* aastore */, 0/* bastore */, 0/* castore */, 0/* sastore */, 0/* pop */, 0/* pop2 */, 0/* dup */, 0/* dup_x1 */, - 0/* dup_x2 */, 0/* dup2 */, 0/* dup2_x1 */, 0/* dup2_x2 */, 0/* swap */, 0/* iadd */, 0/* ladd */, 0/* fadd */, 0/* dadd */, 0/* isub */, 0/* lsub */, - 0/* fsub */, 0/* dsub */, 0/* imul */, 0/* lmul */, 0/* fmul */, 0/* dmul */, 0/* idiv */, 0/* ldiv */, 0/* fdiv */, 0/* ddiv */, 0/* irem */, - 0/* lrem */, 0/* frem */, 0/* drem */, 0/* ineg */, 0/* lneg */, 0/* fneg */, 0/* dneg */, 0/* ishl */, 0/* lshl */, 0/* ishr */, 0/* lshr */, - 0/* iushr */, 0/* lushr */, 0/* iand */, 0/* land */, 0/* ior */, 0/* lor */, 0/* ixor */, 0/* lxor */, 2/* iinc */, 0/* i2l */, 0/* i2f */, 0/* i2d */, - 0/* l2i */, 0/* l2f */, 0/* l2d */, 0/* f2i */, 0/* f2l */, 0/* f2d */, 0/* d2i */, 0/* d2l */, 0/* d2f */, 0/* i2b */, 0/* i2c */, 0/* i2s */, - 0/* lcmp */, 0/* fcmpl */, 0/* fcmpg */, 0/* dcmpl */, 0/* dcmpg */, 2/* ifeq */, 2/* ifne */, 2/* iflt */, 2/* ifge */, 2/* ifgt */, 2/* ifle */, - 2/* if_icmpeq */, 2/* if_icmpne */, 2/* if_icmplt */, 2/* if_icmpge */, 2/* if_icmpgt */, 2/* if_icmple */, 2/* if_acmpeq */, 2/* if_acmpne */, - 2/* goto */, 2/* jsr */, 1/* ret */, UNPREDICTABLE/* tableswitch */, UNPREDICTABLE/* lookupswitch */, 0/* ireturn */, 0/* lreturn */, 0/* freturn */, - 0/* dreturn */, 0/* areturn */, 0/* return */, 2/* getstatic */, 2/* putstatic */, 2/* getfield */, 2/* putfield */, 2/* invokevirtual */, - 2/* invokespecial */, 2/* invokestatic */, 4/* invokeinterface */, 4/* invokedynamic */, 2/* new */, 1/* newarray */, 2/* anewarray */, - 0/* arraylength */, 0/* athrow */, 2/* checkcast */, 2/* instanceof */, 0/* monitorenter */, 0/* monitorexit */, UNPREDICTABLE/* wide */, - 3/* multianewarray */, 2/* ifnull */, 2/* ifnonnull */, 4/* goto_w */, 4/* jsr_w */, 0/* breakpoint */, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, RESERVED/* impdep1 */, RESERVED/* impdep2 */ - }; + short[] NO_OF_OPERANDS = Const.NO_OF_OPERANDS; /** * How the byte code operands are to be interpreted for each opcode. Indexed by opcode. TYPE_OF_OPERANDS[ILOAD] = an * array of shorts describing the data types for the instruction. */ - short[][] TYPE_OF_OPERANDS = {{}/* nop */, {}/* aconst_null */, {}/* iconst_m1 */, {}/* iconst_0 */, {}/* iconst_1 */, {}/* iconst_2 */, {}/* iconst_3 */, - {}/* iconst_4 */, {}/* iconst_5 */, {}/* lconst_0 */, {}/* lconst_1 */, {}/* fconst_0 */, {}/* fconst_1 */, {}/* fconst_2 */, {}/* dconst_0 */, - {}/* dconst_1 */, {T_BYTE}/* bipush */, {T_SHORT}/* sipush */, {T_BYTE}/* ldc */, {T_SHORT}/* ldc_w */, {T_SHORT}/* ldc2_w */, {T_BYTE}/* iload */, - {T_BYTE}/* lload */, {T_BYTE}/* fload */, {T_BYTE}/* dload */, {T_BYTE}/* aload */, {}/* iload_0 */, {}/* iload_1 */, {}/* iload_2 */, {}/* iload_3 */, - {}/* lload_0 */, {}/* lload_1 */, {}/* lload_2 */, {}/* lload_3 */, {}/* fload_0 */, {}/* fload_1 */, {}/* fload_2 */, {}/* fload_3 */, {}/* dload_0 */, - {}/* dload_1 */, {}/* dload_2 */, {}/* dload_3 */, {}/* aload_0 */, {}/* aload_1 */, {}/* aload_2 */, {}/* aload_3 */, {}/* iaload */, {}/* laload */, - {}/* faload */, {}/* daload */, {}/* aaload */, {}/* baload */, {}/* caload */, {}/* saload */, {T_BYTE}/* istore */, {T_BYTE}/* lstore */, - {T_BYTE}/* fstore */, {T_BYTE}/* dstore */, {T_BYTE}/* astore */, {}/* istore_0 */, {}/* istore_1 */, {}/* istore_2 */, {}/* istore_3 */, - {}/* lstore_0 */, {}/* lstore_1 */, {}/* lstore_2 */, {}/* lstore_3 */, {}/* fstore_0 */, {}/* fstore_1 */, {}/* fstore_2 */, {}/* fstore_3 */, - {}/* dstore_0 */, {}/* dstore_1 */, {}/* dstore_2 */, {}/* dstore_3 */, {}/* astore_0 */, {}/* astore_1 */, {}/* astore_2 */, {}/* astore_3 */, - {}/* iastore */, {}/* lastore */, {}/* fastore */, {}/* dastore */, {}/* aastore */, {}/* bastore */, {}/* castore */, {}/* sastore */, {}/* pop */, - {}/* pop2 */, {}/* dup */, {}/* dup_x1 */, {}/* dup_x2 */, {}/* dup2 */, {}/* dup2_x1 */, {}/* dup2_x2 */, {}/* swap */, {}/* iadd */, {}/* ladd */, - {}/* fadd */, {}/* dadd */, {}/* isub */, {}/* lsub */, {}/* fsub */, {}/* dsub */, {}/* imul */, {}/* lmul */, {}/* fmul */, {}/* dmul */, - {}/* idiv */, {}/* ldiv */, {}/* fdiv */, {}/* ddiv */, {}/* irem */, {}/* lrem */, {}/* frem */, {}/* drem */, {}/* ineg */, {}/* lneg */, - {}/* fneg */, {}/* dneg */, {}/* ishl */, {}/* lshl */, {}/* ishr */, {}/* lshr */, {}/* iushr */, {}/* lushr */, {}/* iand */, {}/* land */, - {}/* ior */, {}/* lor */, {}/* ixor */, {}/* lxor */, {T_BYTE, T_BYTE}/* iinc */, {}/* i2l */, {}/* i2f */, {}/* i2d */, {}/* l2i */, {}/* l2f */, - {}/* l2d */, {}/* f2i */, {}/* f2l */, {}/* f2d */, {}/* d2i */, {}/* d2l */, {}/* d2f */, {}/* i2b */, {}/* i2c */, {}/* i2s */, {}/* lcmp */, - {}/* fcmpl */, {}/* fcmpg */, {}/* dcmpl */, {}/* dcmpg */, {T_SHORT}/* ifeq */, {T_SHORT}/* ifne */, {T_SHORT}/* iflt */, {T_SHORT}/* ifge */, - {T_SHORT}/* ifgt */, {T_SHORT}/* ifle */, {T_SHORT}/* if_icmpeq */, {T_SHORT}/* if_icmpne */, {T_SHORT}/* if_icmplt */, {T_SHORT}/* if_icmpge */, - {T_SHORT}/* if_icmpgt */, {T_SHORT}/* if_icmple */, {T_SHORT}/* if_acmpeq */, {T_SHORT}/* if_acmpne */, {T_SHORT}/* goto */, {T_SHORT}/* jsr */, - {T_BYTE}/* ret */, {}/* tableswitch */, {}/* lookupswitch */, {}/* ireturn */, {}/* lreturn */, {}/* freturn */, {}/* dreturn */, {}/* areturn */, - {}/* return */, {T_SHORT}/* getstatic */, {T_SHORT}/* putstatic */, {T_SHORT}/* getfield */, {T_SHORT}/* putfield */, {T_SHORT}/* invokevirtual */, - {T_SHORT}/* invokespecial */, {T_SHORT}/* invokestatic */, {T_SHORT, T_BYTE, T_BYTE}/* invokeinterface */, {T_SHORT, T_BYTE, T_BYTE}/* invokedynamic */, - {T_SHORT}/* new */, {T_BYTE}/* newarray */, {T_SHORT}/* anewarray */, {}/* arraylength */, {}/* athrow */, {T_SHORT}/* checkcast */, - {T_SHORT}/* instanceof */, {}/* monitorenter */, {}/* monitorexit */, {T_BYTE}/* wide */, {T_SHORT, T_BYTE}/* multianewarray */, {T_SHORT}/* ifnull */, - {T_SHORT}/* ifnonnull */, {T_INT}/* goto_w */, {T_INT}/* jsr_w */, {}/* breakpoint */, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, - {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, - {}/* impdep1 */, {}/* impdep2 */ - }; + short[][] TYPE_OF_OPERANDS = Const.TYPE_OF_OPERANDS; /** * Names of opcodes. Indexed by opcode. OPCODE_NAMES[ALOAD] = "aload". */ - String[] OPCODE_NAMES = {"nop", "aconst_null", "iconst_m1", "iconst_0", "iconst_1", "iconst_2", "iconst_3", "iconst_4", "iconst_5", "lconst_0", "lconst_1", - "fconst_0", "fconst_1", "fconst_2", "dconst_0", "dconst_1", "bipush", "sipush", "ldc", "ldc_w", "ldc2_w", "iload", "lload", "fload", "dload", "aload", - "iload_0", "iload_1", "iload_2", "iload_3", "lload_0", "lload_1", "lload_2", "lload_3", "fload_0", "fload_1", "fload_2", "fload_3", "dload_0", - "dload_1", "dload_2", "dload_3", "aload_0", "aload_1", "aload_2", "aload_3", "iaload", "laload", "faload", "daload", "aaload", "baload", "caload", - "saload", "istore", "lstore", "fstore", "dstore", "astore", "istore_0", "istore_1", "istore_2", "istore_3", "lstore_0", "lstore_1", "lstore_2", - "lstore_3", "fstore_0", "fstore_1", "fstore_2", "fstore_3", "dstore_0", "dstore_1", "dstore_2", "dstore_3", "astore_0", "astore_1", "astore_2", - "astore_3", "iastore", "lastore", "fastore", "dastore", "aastore", "bastore", "castore", "sastore", "pop", "pop2", "dup", "dup_x1", "dup_x2", "dup2", - "dup2_x1", "dup2_x2", "swap", "iadd", "ladd", "fadd", "dadd", "isub", "lsub", "fsub", "dsub", "imul", "lmul", "fmul", "dmul", "idiv", "ldiv", "fdiv", - "ddiv", "irem", "lrem", "frem", "drem", "ineg", "lneg", "fneg", "dneg", "ishl", "lshl", "ishr", "lshr", "iushr", "lushr", "iand", "land", "ior", "lor", - "ixor", "lxor", "iinc", "i2l", "i2f", "i2d", "l2i", "l2f", "l2d", "f2i", "f2l", "f2d", "d2i", "d2l", "d2f", "i2b", "i2c", "i2s", "lcmp", "fcmpl", - "fcmpg", "dcmpl", "dcmpg", "ifeq", "ifne", "iflt", "ifge", "ifgt", "ifle", "if_icmpeq", "if_icmpne", "if_icmplt", "if_icmpge", "if_icmpgt", "if_icmple", - "if_acmpeq", "if_acmpne", "goto", "jsr", "ret", "tableswitch", "lookupswitch", "ireturn", "lreturn", "freturn", "dreturn", "areturn", "return", - "getstatic", "putstatic", "getfield", "putfield", "invokevirtual", "invokespecial", "invokestatic", "invokeinterface", "invokedynamic", "new", - "newarray", "anewarray", "arraylength", "athrow", "checkcast", "instanceof", "monitorenter", "monitorexit", "wide", "multianewarray", "ifnull", - "ifnonnull", "goto_w", "jsr_w", "breakpoint", ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, - ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, - ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, - ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, - ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, - ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, ILLEGAL_OPCODE, - "impdep1", "impdep2"}; + String[] OPCODE_NAMES = Const.OPCODE_NAMES; /** * Number of words consumed on operand stack by instructions. Indexed by opcode. CONSUME_STACK[FALOAD] = number of words * consumed from the stack by a faload instruction. */ - int[] CONSUME_STACK = {0/* nop */, 0/* aconst_null */, 0/* iconst_m1 */, 0/* iconst_0 */, 0/* iconst_1 */, 0/* iconst_2 */, 0/* iconst_3 */, - 0/* iconst_4 */, 0/* iconst_5 */, 0/* lconst_0 */, 0/* lconst_1 */, 0/* fconst_0 */, 0/* fconst_1 */, 0/* fconst_2 */, 0/* dconst_0 */, 0/* dconst_1 */, - 0/* bipush */, 0/* sipush */, 0/* ldc */, 0/* ldc_w */, 0/* ldc2_w */, 0/* iload */, 0/* lload */, 0/* fload */, 0/* dload */, 0/* aload */, - 0/* iload_0 */, 0/* iload_1 */, 0/* iload_2 */, 0/* iload_3 */, 0/* lload_0 */, 0/* lload_1 */, 0/* lload_2 */, 0/* lload_3 */, 0/* fload_0 */, - 0/* fload_1 */, 0/* fload_2 */, 0/* fload_3 */, 0/* dload_0 */, 0/* dload_1 */, 0/* dload_2 */, 0/* dload_3 */, 0/* aload_0 */, 0/* aload_1 */, - 0/* aload_2 */, 0/* aload_3 */, 2/* iaload */, 2/* laload */, 2/* faload */, 2/* daload */, 2/* aaload */, 2/* baload */, 2/* caload */, 2/* saload */, - 1/* istore */, 2/* lstore */, 1/* fstore */, 2/* dstore */, 1/* astore */, 1/* istore_0 */, 1/* istore_1 */, 1/* istore_2 */, 1/* istore_3 */, - 2/* lstore_0 */, 2/* lstore_1 */, 2/* lstore_2 */, 2/* lstore_3 */, 1/* fstore_0 */, 1/* fstore_1 */, 1/* fstore_2 */, 1/* fstore_3 */, 2/* dstore_0 */, - 2/* dstore_1 */, 2/* dstore_2 */, 2/* dstore_3 */, 1/* astore_0 */, 1/* astore_1 */, 1/* astore_2 */, 1/* astore_3 */, 3/* iastore */, 4/* lastore */, - 3/* fastore */, 4/* dastore */, 3/* aastore */, 3/* bastore */, 3/* castore */, 3/* sastore */, 1/* pop */, 2/* pop2 */, 1/* dup */, 2/* dup_x1 */, - 3/* dup_x2 */, 2/* dup2 */, 3/* dup2_x1 */, 4/* dup2_x2 */, 2/* swap */, 2/* iadd */, 4/* ladd */, 2/* fadd */, 4/* dadd */, 2/* isub */, 4/* lsub */, - 2/* fsub */, 4/* dsub */, 2/* imul */, 4/* lmul */, 2/* fmul */, 4/* dmul */, 2/* idiv */, 4/* ldiv */, 2/* fdiv */, 4/* ddiv */, 2/* irem */, - 4/* lrem */, 2/* frem */, 4/* drem */, 1/* ineg */, 2/* lneg */, 1/* fneg */, 2/* dneg */, 2/* ishl */, 3/* lshl */, 2/* ishr */, 3/* lshr */, - 2/* iushr */, 3/* lushr */, 2/* iand */, 4/* land */, 2/* ior */, 4/* lor */, 2/* ixor */, 4/* lxor */, 0/* iinc */, 1/* i2l */, 1/* i2f */, 1/* i2d */, - 2/* l2i */, 2/* l2f */, 2/* l2d */, 1/* f2i */, 1/* f2l */, 1/* f2d */, 2/* d2i */, 2/* d2l */, 2/* d2f */, 1/* i2b */, 1/* i2c */, 1/* i2s */, - 4/* lcmp */, 2/* fcmpl */, 2/* fcmpg */, 4/* dcmpl */, 4/* dcmpg */, 1/* ifeq */, 1/* ifne */, 1/* iflt */, 1/* ifge */, 1/* ifgt */, 1/* ifle */, - 2/* if_icmpeq */, 2/* if_icmpne */, 2/* if_icmplt */, 2 /* if_icmpge */, 2/* if_icmpgt */, 2/* if_icmple */, 2/* if_acmpeq */, 2/* if_acmpne */, - 0/* goto */, 0/* jsr */, 0/* ret */, 1/* tableswitch */, 1/* lookupswitch */, 1/* ireturn */, 2/* lreturn */, 1/* freturn */, 2/* dreturn */, - 1/* areturn */, 0/* return */, 0/* getstatic */, UNPREDICTABLE/* putstatic */, 1/* getfield */, UNPREDICTABLE/* putfield */, - UNPREDICTABLE/* invokevirtual */, UNPREDICTABLE/* invokespecial */, UNPREDICTABLE/* invokestatic */, UNPREDICTABLE/* invokeinterface */, - UNPREDICTABLE/* invokedynamic */, 0/* new */, 1/* newarray */, 1/* anewarray */, 1/* arraylength */, 1/* athrow */, 1/* checkcast */, 1/* instanceof */, - 1/* monitorenter */, 1/* monitorexit */, 0/* wide */, UNPREDICTABLE/* multianewarray */, 1/* ifnull */, 1/* ifnonnull */, 0/* goto_w */, 0/* jsr_w */, - 0/* breakpoint */, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNPREDICTABLE/* impdep1 */, UNPREDICTABLE/* impdep2 */ - }; + int[] CONSUME_STACK = Const.CONSUME_STACK; /** * Number of words produced onto operand stack by instructions. Indexed by opcode. CONSUME_STACK[DALOAD] = number of * words consumed from the stack by a daload instruction. */ - int[] PRODUCE_STACK = {0/* nop */, 1/* aconst_null */, 1/* iconst_m1 */, 1/* iconst_0 */, 1/* iconst_1 */, 1/* iconst_2 */, 1/* iconst_3 */, - 1/* iconst_4 */, 1/* iconst_5 */, 2/* lconst_0 */, 2/* lconst_1 */, 1/* fconst_0 */, 1/* fconst_1 */, 1/* fconst_2 */, 2/* dconst_0 */, 2/* dconst_1 */, - 1/* bipush */, 1/* sipush */, 1/* ldc */, 1/* ldc_w */, 2/* ldc2_w */, 1/* iload */, 2/* lload */, 1/* fload */, 2/* dload */, 1/* aload */, - 1/* iload_0 */, 1/* iload_1 */, 1/* iload_2 */, 1/* iload_3 */, 2/* lload_0 */, 2/* lload_1 */, 2/* lload_2 */, 2/* lload_3 */, 1/* fload_0 */, - 1/* fload_1 */, 1/* fload_2 */, 1/* fload_3 */, 2/* dload_0 */, 2/* dload_1 */, 2/* dload_2 */, 2/* dload_3 */, 1/* aload_0 */, 1/* aload_1 */, - 1/* aload_2 */, 1/* aload_3 */, 1/* iaload */, 2/* laload */, 1/* faload */, 2/* daload */, 1/* aaload */, 1/* baload */, 1/* caload */, 1/* saload */, - 0/* istore */, 0/* lstore */, 0/* fstore */, 0/* dstore */, 0/* astore */, 0/* istore_0 */, 0/* istore_1 */, 0/* istore_2 */, 0/* istore_3 */, - 0/* lstore_0 */, 0/* lstore_1 */, 0/* lstore_2 */, 0/* lstore_3 */, 0/* fstore_0 */, 0/* fstore_1 */, 0/* fstore_2 */, 0/* fstore_3 */, 0/* dstore_0 */, - 0/* dstore_1 */, 0/* dstore_2 */, 0/* dstore_3 */, 0/* astore_0 */, 0/* astore_1 */, 0/* astore_2 */, 0/* astore_3 */, 0/* iastore */, 0/* lastore */, - 0/* fastore */, 0/* dastore */, 0/* aastore */, 0/* bastore */, 0/* castore */, 0/* sastore */, 0/* pop */, 0/* pop2 */, 2/* dup */, 3/* dup_x1 */, - 4/* dup_x2 */, 4/* dup2 */, 5/* dup2_x1 */, 6/* dup2_x2 */, 2/* swap */, 1/* iadd */, 2/* ladd */, 1/* fadd */, 2/* dadd */, 1/* isub */, 2/* lsub */, - 1/* fsub */, 2/* dsub */, 1/* imul */, 2/* lmul */, 1/* fmul */, 2/* dmul */, 1/* idiv */, 2/* ldiv */, 1/* fdiv */, 2/* ddiv */, 1/* irem */, - 2/* lrem */, 1/* frem */, 2/* drem */, 1/* ineg */, 2/* lneg */, 1/* fneg */, 2/* dneg */, 1/* ishl */, 2/* lshl */, 1/* ishr */, 2/* lshr */, - 1/* iushr */, 2/* lushr */, 1/* iand */, 2/* land */, 1/* ior */, 2/* lor */, 1/* ixor */, 2/* lxor */, 0/* iinc */, 2/* i2l */, 1/* i2f */, 2/* i2d */, - 1/* l2i */, 1/* l2f */, 2/* l2d */, 1/* f2i */, 2/* f2l */, 2/* f2d */, 1/* d2i */, 2/* d2l */, 1/* d2f */, 1/* i2b */, 1/* i2c */, 1/* i2s */, - 1/* lcmp */, 1/* fcmpl */, 1/* fcmpg */, 1/* dcmpl */, 1/* dcmpg */, 0/* ifeq */, 0/* ifne */, 0/* iflt */, 0/* ifge */, 0/* ifgt */, 0/* ifle */, - 0/* if_icmpeq */, 0/* if_icmpne */, 0/* if_icmplt */, 0/* if_icmpge */, 0/* if_icmpgt */, 0/* if_icmple */, 0/* if_acmpeq */, 0/* if_acmpne */, - 0/* goto */, 1/* jsr */, 0/* ret */, 0/* tableswitch */, 0/* lookupswitch */, 0/* ireturn */, 0/* lreturn */, 0/* freturn */, 0/* dreturn */, - 0/* areturn */, 0/* return */, UNPREDICTABLE/* getstatic */, 0/* putstatic */, UNPREDICTABLE/* getfield */, 0/* putfield */, - UNPREDICTABLE/* invokevirtual */, UNPREDICTABLE/* invokespecial */, UNPREDICTABLE/* invokestatic */, UNPREDICTABLE/* invokeinterface */, - UNPREDICTABLE/* invokedynamic */, 1/* new */, 1/* newarray */, 1/* anewarray */, 1/* arraylength */, 1/* athrow */, 1/* checkcast */, 1/* instanceof */, - 0/* monitorenter */, 0/* monitorexit */, 0/* wide */, 1/* multianewarray */, 0/* ifnull */, 0/* ifnonnull */, 0/* goto_w */, 1/* jsr_w */, - 0/* breakpoint */, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, UNDEFINED, - UNPREDICTABLE/* impdep1 */, UNPREDICTABLE/* impdep2 */ - }; + int[] PRODUCE_STACK = Const.PRODUCE_STACK; /** * Attributes and their corresponding names. */ - byte ATTR_UNKNOWN = -1; - byte ATTR_SOURCE_FILE = 0; - byte ATTR_CONSTANT_VALUE = 1; - byte ATTR_CODE = 2; - byte ATTR_EXCEPTIONS = 3; - byte ATTR_LINE_NUMBER_TABLE = 4; - byte ATTR_LOCAL_VARIABLE_TABLE = 5; - byte ATTR_INNER_CLASSES = 6; - byte ATTR_SYNTHETIC = 7; - byte ATTR_DEPRECATED = 8; - byte ATTR_PMG = 9; - byte ATTR_SIGNATURE = 10; - byte ATTR_STACK_MAP = 11; + byte ATTR_UNKNOWN = Const.ATTR_UNKNOWN; + byte ATTR_SOURCE_FILE = Const.ATTR_SOURCE_FILE; + byte ATTR_CONSTANT_VALUE = Const.ATTR_CONSTANT_VALUE; + byte ATTR_CODE = Const.ATTR_CODE; + byte ATTR_EXCEPTIONS = Const.ATTR_EXCEPTIONS; + byte ATTR_LINE_NUMBER_TABLE = Const.ATTR_LINE_NUMBER_TABLE; + byte ATTR_LOCAL_VARIABLE_TABLE = Const.ATTR_LOCAL_VARIABLE_TABLE; + byte ATTR_INNER_CLASSES = Const.ATTR_INNER_CLASSES; + byte ATTR_SYNTHETIC = Const.ATTR_SYNTHETIC; + byte ATTR_DEPRECATED = Const.ATTR_DEPRECATED; + byte ATTR_PMG = Const.ATTR_PMG; + byte ATTR_SIGNATURE = Const.ATTR_SIGNATURE; + byte ATTR_STACK_MAP = Const.ATTR_STACK_MAP; byte ATTR_RUNTIMEVISIBLE_ANNOTATIONS = 12; byte ATTR_RUNTIMEINVISIBLE_ANNOTATIONS = 13; byte ATTR_RUNTIMEVISIBLE_PARAMETER_ANNOTATIONS = 14; @@ -2553,15 +2425,15 @@ public interface Constants { /** * Constants used in the StackMap attribute. */ - byte ITEM_Bogus = 0; - byte ITEM_Integer = 1; - byte ITEM_Float = 2; - byte ITEM_Double = 3; - byte ITEM_Long = 4; - byte ITEM_Null = 5; - byte ITEM_InitObject = 6; - byte ITEM_Object = 7; - byte ITEM_NewObject = 8; + byte ITEM_Bogus = Const.ITEM_Bogus; + byte ITEM_Integer = Const.ITEM_Integer; + byte ITEM_Float = Const.ITEM_Float; + byte ITEM_Double = Const.ITEM_Double; + byte ITEM_Long = Const.ITEM_Long; + byte ITEM_Null = Const.ITEM_Null; + byte ITEM_InitObject = Const.ITEM_InitObject; + byte ITEM_Object = Const.ITEM_Object; + byte ITEM_NewObject = Const.ITEM_NewObject; String[] ITEM_NAMES = {"Bogus", "Integer", "Float", "Double", "Long", "Null", "InitObject", "Object", "NewObject"}; diff --git a/src/main/java/org/apache/bcel/generic/InstructionConst.java b/src/main/java/org/apache/bcel/generic/InstructionConst.java index c2683c05..0064d295 100644 --- a/src/main/java/org/apache/bcel/generic/InstructionConst.java +++ b/src/main/java/org/apache/bcel/generic/InstructionConst.java @@ -166,7 +166,7 @@ public final class InstructionConst { /** * Get object via its opcode, for immutable instructions like branch instructions entries are set to null. */ - private static final Instruction[] INSTRUCTIONS = new Instruction[256]; + static final Instruction[] INSTRUCTIONS = new Instruction[256]; static { INSTRUCTIONS[Const.NOP] = NOP; diff --git a/src/main/java/org/apache/bcel/generic/InstructionConstants.java b/src/main/java/org/apache/bcel/generic/InstructionConstants.java index 04128bb4..345737b9 100644 --- a/src/main/java/org/apache/bcel/generic/InstructionConstants.java +++ b/src/main/java/org/apache/bcel/generic/InstructionConstants.java @@ -16,8 +16,6 @@ */ package org.apache.bcel.generic; -import org.apache.bcel.Const; - /** * This interface contains shareable instruction objects. * <p> @@ -36,252 +34,141 @@ import org.apache.bcel.Const; @Deprecated public interface InstructionConstants { - class Clinit { - - Clinit() { - INSTRUCTIONS[Const.NOP] = NOP; - INSTRUCTIONS[Const.ACONST_NULL] = ACONST_NULL; - INSTRUCTIONS[Const.ICONST_M1] = ICONST_M1; - INSTRUCTIONS[Const.ICONST_0] = ICONST_0; - INSTRUCTIONS[Const.ICONST_1] = ICONST_1; - INSTRUCTIONS[Const.ICONST_2] = ICONST_2; - INSTRUCTIONS[Const.ICONST_3] = ICONST_3; - INSTRUCTIONS[Const.ICONST_4] = ICONST_4; - INSTRUCTIONS[Const.ICONST_5] = ICONST_5; - INSTRUCTIONS[Const.LCONST_0] = LCONST_0; - INSTRUCTIONS[Const.LCONST_1] = LCONST_1; - INSTRUCTIONS[Const.FCONST_0] = FCONST_0; - INSTRUCTIONS[Const.FCONST_1] = FCONST_1; - INSTRUCTIONS[Const.FCONST_2] = FCONST_2; - INSTRUCTIONS[Const.DCONST_0] = DCONST_0; - INSTRUCTIONS[Const.DCONST_1] = DCONST_1; - INSTRUCTIONS[Const.IALOAD] = IALOAD; - INSTRUCTIONS[Const.LALOAD] = LALOAD; - INSTRUCTIONS[Const.FALOAD] = FALOAD; - INSTRUCTIONS[Const.DALOAD] = DALOAD; - INSTRUCTIONS[Const.AALOAD] = AALOAD; - INSTRUCTIONS[Const.BALOAD] = BALOAD; - INSTRUCTIONS[Const.CALOAD] = CALOAD; - INSTRUCTIONS[Const.SALOAD] = SALOAD; - INSTRUCTIONS[Const.IASTORE] = IASTORE; - INSTRUCTIONS[Const.LASTORE] = LASTORE; - INSTRUCTIONS[Const.FASTORE] = FASTORE; - INSTRUCTIONS[Const.DASTORE] = DASTORE; - INSTRUCTIONS[Const.AASTORE] = AASTORE; - INSTRUCTIONS[Const.BASTORE] = BASTORE; - INSTRUCTIONS[Const.CASTORE] = CASTORE; - INSTRUCTIONS[Const.SASTORE] = SASTORE; - INSTRUCTIONS[Const.POP] = POP; - INSTRUCTIONS[Const.POP2] = POP2; - INSTRUCTIONS[Const.DUP] = DUP; - INSTRUCTIONS[Const.DUP_X1] = DUP_X1; - INSTRUCTIONS[Const.DUP_X2] = DUP_X2; - INSTRUCTIONS[Const.DUP2] = DUP2; - INSTRUCTIONS[Const.DUP2_X1] = DUP2_X1; - INSTRUCTIONS[Const.DUP2_X2] = DUP2_X2; - INSTRUCTIONS[Const.SWAP] = SWAP; - INSTRUCTIONS[Const.IADD] = IADD; - INSTRUCTIONS[Const.LADD] = LADD; - INSTRUCTIONS[Const.FADD] = FADD; - INSTRUCTIONS[Const.DADD] = DADD; - INSTRUCTIONS[Const.ISUB] = ISUB; - INSTRUCTIONS[Const.LSUB] = LSUB; - INSTRUCTIONS[Const.FSUB] = FSUB; - INSTRUCTIONS[Const.DSUB] = DSUB; - INSTRUCTIONS[Const.IMUL] = IMUL; - INSTRUCTIONS[Const.LMUL] = LMUL; - INSTRUCTIONS[Const.FMUL] = FMUL; - INSTRUCTIONS[Const.DMUL] = DMUL; - INSTRUCTIONS[Const.IDIV] = IDIV; - INSTRUCTIONS[Const.LDIV] = LDIV; - INSTRUCTIONS[Const.FDIV] = FDIV; - INSTRUCTIONS[Const.DDIV] = DDIV; - INSTRUCTIONS[Const.IREM] = IREM; - INSTRUCTIONS[Const.LREM] = LREM; - INSTRUCTIONS[Const.FREM] = FREM; - INSTRUCTIONS[Const.DREM] = DREM; - INSTRUCTIONS[Const.INEG] = INEG; - INSTRUCTIONS[Const.LNEG] = LNEG; - INSTRUCTIONS[Const.FNEG] = FNEG; - INSTRUCTIONS[Const.DNEG] = DNEG; - INSTRUCTIONS[Const.ISHL] = ISHL; - INSTRUCTIONS[Const.LSHL] = LSHL; - INSTRUCTIONS[Const.ISHR] = ISHR; - INSTRUCTIONS[Const.LSHR] = LSHR; - INSTRUCTIONS[Const.IUSHR] = IUSHR; - INSTRUCTIONS[Const.LUSHR] = LUSHR; - INSTRUCTIONS[Const.IAND] = IAND; - INSTRUCTIONS[Const.LAND] = LAND; - INSTRUCTIONS[Const.IOR] = IOR; - INSTRUCTIONS[Const.LOR] = LOR; - INSTRUCTIONS[Const.IXOR] = IXOR; - INSTRUCTIONS[Const.LXOR] = LXOR; - INSTRUCTIONS[Const.I2L] = I2L; - INSTRUCTIONS[Const.I2F] = I2F; - INSTRUCTIONS[Const.I2D] = I2D; - INSTRUCTIONS[Const.L2I] = L2I; - INSTRUCTIONS[Const.L2F] = L2F; - INSTRUCTIONS[Const.L2D] = L2D; - INSTRUCTIONS[Const.F2I] = F2I; - INSTRUCTIONS[Const.F2L] = F2L; - INSTRUCTIONS[Const.F2D] = F2D; - INSTRUCTIONS[Const.D2I] = D2I; - INSTRUCTIONS[Const.D2L] = D2L; - INSTRUCTIONS[Const.D2F] = D2F; - INSTRUCTIONS[Const.I2B] = I2B; - INSTRUCTIONS[Const.I2C] = I2C; - INSTRUCTIONS[Const.I2S] = I2S; - INSTRUCTIONS[Const.LCMP] = LCMP; - INSTRUCTIONS[Const.FCMPL] = FCMPL; - INSTRUCTIONS[Const.FCMPG] = FCMPG; - INSTRUCTIONS[Const.DCMPL] = DCMPL; - INSTRUCTIONS[Const.DCMPG] = DCMPG; - INSTRUCTIONS[Const.IRETURN] = IRETURN; - INSTRUCTIONS[Const.LRETURN] = LRETURN; - INSTRUCTIONS[Const.FRETURN] = FRETURN; - INSTRUCTIONS[Const.DRETURN] = DRETURN; - INSTRUCTIONS[Const.ARETURN] = ARETURN; - INSTRUCTIONS[Const.RETURN] = RETURN; - INSTRUCTIONS[Const.ARRAYLENGTH] = ARRAYLENGTH; - INSTRUCTIONS[Const.ATHROW] = ATHROW; - INSTRUCTIONS[Const.MONITORENTER] = MONITORENTER; - INSTRUCTIONS[Const.MONITOREXIT] = MONITOREXIT; - } - } + class Clinit {} /* * NOTE these are not currently immutable, because Instruction has mutable protected fields opcode and length. */ - Instruction NOP = new NOP(); - Instruction ACONST_NULL = new ACONST_NULL(); - Instruction ICONST_M1 = new ICONST(-1); - Instruction ICONST_0 = new ICONST(0); - Instruction ICONST_1 = new ICONST(1); - Instruction ICONST_2 = new ICONST(2); - Instruction ICONST_3 = new ICONST(3); - Instruction ICONST_4 = new ICONST(4); - Instruction ICONST_5 = new ICONST(5); - Instruction LCONST_0 = new LCONST(0); - Instruction LCONST_1 = new LCONST(1); - Instruction FCONST_0 = new FCONST(0); - Instruction FCONST_1 = new FCONST(1); - Instruction FCONST_2 = new FCONST(2); - Instruction DCONST_0 = new DCONST(0); - Instruction DCONST_1 = new DCONST(1); - ArrayInstruction IALOAD = new IALOAD(); - ArrayInstruction LALOAD = new LALOAD(); - ArrayInstruction FALOAD = new FALOAD(); - ArrayInstruction DALOAD = new DALOAD(); - ArrayInstruction AALOAD = new AALOAD(); - ArrayInstruction BALOAD = new BALOAD(); - ArrayInstruction CALOAD = new CALOAD(); - ArrayInstruction SALOAD = new SALOAD(); - ArrayInstruction IASTORE = new IASTORE(); - ArrayInstruction LASTORE = new LASTORE(); - ArrayInstruction FASTORE = new FASTORE(); - ArrayInstruction DASTORE = new DASTORE(); - ArrayInstruction AASTORE = new AASTORE(); - ArrayInstruction BASTORE = new BASTORE(); - ArrayInstruction CASTORE = new CASTORE(); - ArrayInstruction SASTORE = new SASTORE(); - StackInstruction POP = new POP(); - StackInstruction POP2 = new POP2(); - StackInstruction DUP = new DUP(); - StackInstruction DUP_X1 = new DUP_X1(); - StackInstruction DUP_X2 = new DUP_X2(); - StackInstruction DUP2 = new DUP2(); - StackInstruction DUP2_X1 = new DUP2_X1(); - StackInstruction DUP2_X2 = new DUP2_X2(); - StackInstruction SWAP = new SWAP(); - ArithmeticInstruction IADD = new IADD(); - ArithmeticInstruction LADD = new LADD(); - ArithmeticInstruction FADD = new FADD(); - ArithmeticInstruction DADD = new DADD(); - ArithmeticInstruction ISUB = new ISUB(); - ArithmeticInstruction LSUB = new LSUB(); - ArithmeticInstruction FSUB = new FSUB(); - ArithmeticInstruction DSUB = new DSUB(); - ArithmeticInstruction IMUL = new IMUL(); - ArithmeticInstruction LMUL = new LMUL(); - ArithmeticInstruction FMUL = new FMUL(); - ArithmeticInstruction DMUL = new DMUL(); - ArithmeticInstruction IDIV = new IDIV(); - ArithmeticInstruction LDIV = new LDIV(); - ArithmeticInstruction FDIV = new FDIV(); - ArithmeticInstruction DDIV = new DDIV(); - ArithmeticInstruction IREM = new IREM(); - ArithmeticInstruction LREM = new LREM(); - ArithmeticInstruction FREM = new FREM(); - ArithmeticInstruction DREM = new DREM(); - ArithmeticInstruction INEG = new INEG(); - ArithmeticInstruction LNEG = new LNEG(); - ArithmeticInstruction FNEG = new FNEG(); - ArithmeticInstruction DNEG = new DNEG(); - ArithmeticInstruction ISHL = new ISHL(); - ArithmeticInstruction LSHL = new LSHL(); - ArithmeticInstruction ISHR = new ISHR(); - ArithmeticInstruction LSHR = new LSHR(); - ArithmeticInstruction IUSHR = new IUSHR(); - ArithmeticInstruction LUSHR = new LUSHR(); - ArithmeticInstruction IAND = new IAND(); - ArithmeticInstruction LAND = new LAND(); - ArithmeticInstruction IOR = new IOR(); - ArithmeticInstruction LOR = new LOR(); - ArithmeticInstruction IXOR = new IXOR(); - ArithmeticInstruction LXOR = new LXOR(); - ConversionInstruction I2L = new I2L(); - ConversionInstruction I2F = new I2F(); - ConversionInstruction I2D = new I2D(); - ConversionInstruction L2I = new L2I(); - ConversionInstruction L2F = new L2F(); - ConversionInstruction L2D = new L2D(); - ConversionInstruction F2I = new F2I(); - ConversionInstruction F2L = new F2L(); - ConversionInstruction F2D = new F2D(); - ConversionInstruction D2I = new D2I(); - ConversionInstruction D2L = new D2L(); - ConversionInstruction D2F = new D2F(); - ConversionInstruction I2B = new I2B(); - ConversionInstruction I2C = new I2C(); - ConversionInstruction I2S = new I2S(); - Instruction LCMP = new LCMP(); - Instruction FCMPL = new FCMPL(); - Instruction FCMPG = new FCMPG(); - Instruction DCMPL = new DCMPL(); - Instruction DCMPG = new DCMPG(); - ReturnInstruction IRETURN = new IRETURN(); - ReturnInstruction LRETURN = new LRETURN(); - ReturnInstruction FRETURN = new FRETURN(); - ReturnInstruction DRETURN = new DRETURN(); - ReturnInstruction ARETURN = new ARETURN(); - ReturnInstruction RETURN = new RETURN(); - Instruction ARRAYLENGTH = new ARRAYLENGTH(); - Instruction ATHROW = new ATHROW(); - Instruction MONITORENTER = new MONITORENTER(); - Instruction MONITOREXIT = new MONITOREXIT(); + Instruction NOP = InstructionConst.NOP; + Instruction ACONST_NULL = InstructionConst.ACONST_NULL; + Instruction ICONST_M1 = InstructionConst.ICONST_M1; + Instruction ICONST_0 = InstructionConst.ICONST_0; + Instruction ICONST_1 = InstructionConst.ICONST_1; + Instruction ICONST_2 = InstructionConst.ICONST_2; + Instruction ICONST_3 = InstructionConst.ICONST_3; + Instruction ICONST_4 = InstructionConst.ICONST_4; + Instruction ICONST_5 = InstructionConst.ICONST_5; + Instruction LCONST_0 = InstructionConst.LCONST_0; + Instruction LCONST_1 = InstructionConst.LCONST_1; + Instruction FCONST_0 = InstructionConst.FCONST_0; + Instruction FCONST_1 = InstructionConst.FCONST_1; + Instruction FCONST_2 = InstructionConst.FCONST_2; + Instruction DCONST_0 = InstructionConst.FCONST_2; + Instruction DCONST_1 = InstructionConst.DCONST_1; + ArrayInstruction IALOAD = InstructionConst.IALOAD; + ArrayInstruction LALOAD = InstructionConst.LALOAD; + ArrayInstruction FALOAD = InstructionConst.FALOAD; + ArrayInstruction DALOAD = InstructionConst.DALOAD; + ArrayInstruction AALOAD = InstructionConst.AALOAD; + ArrayInstruction BALOAD = InstructionConst.BALOAD; + ArrayInstruction CALOAD = InstructionConst.CALOAD; + ArrayInstruction SALOAD = InstructionConst.SALOAD; + ArrayInstruction IASTORE = InstructionConst.IASTORE; + ArrayInstruction LASTORE = InstructionConst.LASTORE; + ArrayInstruction FASTORE = InstructionConst.FASTORE; + ArrayInstruction DASTORE = InstructionConst.DASTORE; + ArrayInstruction AASTORE = InstructionConst.AASTORE; + ArrayInstruction BASTORE = InstructionConst.BASTORE; + ArrayInstruction CASTORE = InstructionConst.CASTORE; + ArrayInstruction SASTORE = InstructionConst.SASTORE; + StackInstruction POP = InstructionConst.POP; + StackInstruction POP2 = InstructionConst.POP2; + StackInstruction DUP = InstructionConst.DUP; + StackInstruction DUP_X1 = InstructionConst.DUP_X1; + StackInstruction DUP_X2 = InstructionConst.DUP_X2; + StackInstruction DUP2 = InstructionConst.DUP2; + StackInstruction DUP2_X1 = InstructionConst.DUP2_X1; + StackInstruction DUP2_X2 = InstructionConst.DUP2_X2; + StackInstruction SWAP = InstructionConst.SWAP; + ArithmeticInstruction IADD = InstructionConst.IADD; + ArithmeticInstruction LADD = InstructionConst.LADD; + ArithmeticInstruction FADD = InstructionConst.FADD; + ArithmeticInstruction DADD = InstructionConst.DADD; + ArithmeticInstruction ISUB = InstructionConst.ISUB; + ArithmeticInstruction LSUB = InstructionConst.LSUB; + ArithmeticInstruction FSUB = InstructionConst.FSUB; + ArithmeticInstruction DSUB = InstructionConst.DSUB; + ArithmeticInstruction IMUL = InstructionConst.IMUL; + ArithmeticInstruction LMUL = InstructionConst.LMUL; + ArithmeticInstruction FMUL = InstructionConst.FMUL; + ArithmeticInstruction DMUL = InstructionConst.DMUL; + ArithmeticInstruction IDIV = InstructionConst.IDIV; + ArithmeticInstruction LDIV = InstructionConst.LDIV; + ArithmeticInstruction FDIV = InstructionConst.FDIV; + ArithmeticInstruction DDIV = InstructionConst.DDIV; + ArithmeticInstruction IREM = InstructionConst.IREM; + ArithmeticInstruction LREM = InstructionConst.LREM; + ArithmeticInstruction FREM = InstructionConst.FREM; + ArithmeticInstruction DREM = InstructionConst.DREM; + ArithmeticInstruction INEG = InstructionConst.INEG; + ArithmeticInstruction LNEG = InstructionConst.LNEG; + ArithmeticInstruction FNEG = InstructionConst.FNEG; + ArithmeticInstruction DNEG = InstructionConst.DNEG; + ArithmeticInstruction ISHL = InstructionConst.ISHL; + ArithmeticInstruction LSHL = InstructionConst.LSHL; + ArithmeticInstruction ISHR = InstructionConst.ISHR; + ArithmeticInstruction LSHR = InstructionConst.LSHR; + ArithmeticInstruction IUSHR = InstructionConst.IUSHR; + ArithmeticInstruction LUSHR = InstructionConst.LUSHR; + ArithmeticInstruction IAND = InstructionConst.IAND; + ArithmeticInstruction LAND = InstructionConst.LAND; + ArithmeticInstruction IOR = InstructionConst.IOR; + ArithmeticInstruction LOR = InstructionConst.LOR; + ArithmeticInstruction IXOR = InstructionConst.IXOR; + ArithmeticInstruction LXOR = InstructionConst.LXOR; + ConversionInstruction I2L = InstructionConst.I2L; + ConversionInstruction I2F = InstructionConst.I2F; + ConversionInstruction I2D = InstructionConst.I2D; + ConversionInstruction L2I = InstructionConst.L2I; + ConversionInstruction L2F = InstructionConst.L2F; + ConversionInstruction L2D = InstructionConst.L2D; + ConversionInstruction F2I = InstructionConst.F2I; + ConversionInstruction F2L = InstructionConst.F2L; + ConversionInstruction F2D = InstructionConst.F2D; + ConversionInstruction D2I = InstructionConst.D2I; + ConversionInstruction D2L = InstructionConst.D2L; + ConversionInstruction D2F = InstructionConst.D2F; + ConversionInstruction I2B = InstructionConst.I2B; + ConversionInstruction I2C = InstructionConst.I2C; + ConversionInstruction I2S = InstructionConst.I2S; + Instruction LCMP = InstructionConst.LCMP; + Instruction FCMPL = InstructionConst.FCMPL; + Instruction FCMPG = InstructionConst.FCMPG; + Instruction DCMPL = InstructionConst.DCMPL; + Instruction DCMPG = InstructionConst.DCMPG; + ReturnInstruction IRETURN = InstructionConst.IRETURN; + ReturnInstruction LRETURN = InstructionConst.LRETURN; + ReturnInstruction FRETURN = InstructionConst.FRETURN; + ReturnInstruction DRETURN = InstructionConst.DRETURN; + ReturnInstruction ARETURN = InstructionConst.ARETURN; + ReturnInstruction RETURN = InstructionConst.RETURN; + Instruction ARRAYLENGTH = InstructionConst.ARRAYLENGTH; + Instruction ATHROW = InstructionConst.ATHROW; + Instruction MONITORENTER = InstructionConst.MONITORENTER; + Instruction MONITOREXIT = InstructionConst.MONITOREXIT; /** * You can use these constants in multiple places safely, if you can guarantee that you will never alter their internal * values, e.g. call setIndex(). */ - LocalVariableInstruction THIS = new ALOAD(0); + LocalVariableInstruction THIS = InstructionConst.THIS; LocalVariableInstruction ALOAD_0 = THIS; - LocalVariableInstruction ALOAD_1 = new ALOAD(1); - LocalVariableInstruction ALOAD_2 = new ALOAD(2); - LocalVariableInstruction ILOAD_0 = new ILOAD(0); - LocalVariableInstruction ILOAD_1 = new ILOAD(1); - LocalVariableInstruction ILOAD_2 = new ILOAD(2); - LocalVariableInstruction ASTORE_0 = new ASTORE(0); - LocalVariableInstruction ASTORE_1 = new ASTORE(1); - LocalVariableInstruction ASTORE_2 = new ASTORE(2); - LocalVariableInstruction ISTORE_0 = new ISTORE(0); - LocalVariableInstruction ISTORE_1 = new ISTORE(1); - LocalVariableInstruction ISTORE_2 = new ISTORE(2); + LocalVariableInstruction ALOAD_1 = InstructionConst.ALOAD_1; + LocalVariableInstruction ALOAD_2 = InstructionConst.ALOAD_2; + LocalVariableInstruction ILOAD_0 = InstructionConst.ILOAD_0; + LocalVariableInstruction ILOAD_1 = InstructionConst.ILOAD_1; + LocalVariableInstruction ILOAD_2 = InstructionConst.ILOAD_2; + LocalVariableInstruction ASTORE_0 = InstructionConst.ASTORE_0; + LocalVariableInstruction ASTORE_1 = InstructionConst.ASTORE_1; + LocalVariableInstruction ASTORE_2 = InstructionConst.ASTORE_2; + LocalVariableInstruction ISTORE_0 = InstructionConst.ISTORE_0; + LocalVariableInstruction ISTORE_1 = InstructionConst.ISTORE_1; + LocalVariableInstruction ISTORE_2 = InstructionConst.ISTORE_2; /** * Gets object via its opcode, for immutable instructions like branch instructions entries are set to null. */ - Instruction[] INSTRUCTIONS = new Instruction[256]; + Instruction[] INSTRUCTIONS = InstructionConst.INSTRUCTIONS; /** * Interfaces may have no static initializers, so we simulate this with an inner class.