Package org.apache.bcel
Class Const
java.lang.Object
org.apache.bcel.Const
Constants for the project, mostly defined in the JVM specification.
- Since:
- 6.0 (intended to replace the Constants interface)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final short
Java VM opcode.static final short
Java VM opcode.static final short
One of the access flags for methods or classes.static final short
One of the access flags for classes.static final short
One of the access flags for methods.static final short
One of the access flags for fields or classes.static final short
One of the access flags for fields, methods, or classes.static final short
One of the access flags for classes.static final short
One of the access flags for MethodParameter or Module attributes.static final short
One of the access flags for classes.static final short
One of the access flags for methods.static final short
One of the access flags for the Module attribute.static final short
One of the access flags for fields, methods, or classes.static final short
One of the access flags for fields, methods, or classes.static final short
One of the access flags for fields, methods, or classes.static final short
One of the access flags for fields, methods, or classes.static final short
One of the access flags for the Module attribute.static final short
One of the access flags for methods.static final short
One of the access flags for classes.static final short
One of the access flags for methods.static final short
One of the access flags for fields, methods, classes, MethodParameter attribute, or Module attribute.static final short
One of the access flags for fields.static final short
One of the access flags for the Module attribute.static final short
One of the access flags for methods.static final short
One of the access flags for fields.static final int
static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final int
static final int
static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
Attributes and their corresponding names.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final int
static final int
static final byte
Marks a constant pool entry as a Classstatic final byte
Marks a constant pool entry as type Double.static final byte
Marks a constant pool entry as dynamically computed.static final byte
Marks a constant pool entry as a Field Reference.static final byte
Marks a constant pool entry as type Float.static final byte
Marks a constant pool entry as type Integer.static final byte
Marks a constant pool entry as an Interface Method Reference.static final byte
Marks a constant pool entry as an Invoke Dynamicstatic final byte
Marks a constant pool entry as type Long.static final byte
Marks a constant pool entry as a Method Handle.static final byte
Marks a constant pool entry as a Method Reference.static final byte
Marks a constant pool entry as a Method Type.static final byte
Marks a constant pool entry as a Module Reference.static final byte
Marks a constant pool entry as a name and type.static final byte
Marks a constant pool entry as a Package Reference.static final byte
Marks a constant pool entry as type Stringstatic final byte
Marks a constant pool entry as type UTF-8.static final String
The name of every constructor method in a class, also called "instance initialization method".static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final int
static final short
Java VM opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final String
Mnemonic for an illegal opcode.static final String
Mnemonic for an illegal type.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final byte
Constants used in the StackMap attribute.static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final int
Java class file format Magic number (0xCAFEBABE)static final short
static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Default major version number.static final short
Major version number of class files for Java 1.1.static final short
Major version number of class files for Java 1.2.static final short
Major version number of class files for Java 1.2.static final short
Major version number of class files for Java 1.3.static final short
Major version number of class files for Java 1.4.static final short
Major version number of class files for Java 1.6.static final short
Major version number of class files for Java 1.7.static final short
Major version number of class files for Java 1.8.static final short
Deprecated.static final short
Major version number of class files for Java 10.static final short
Major version number of class files for Java 11.static final short
Major version number of class files for Java 12.static final short
Major version number of class files for Java 13.static final short
Major version number of class files for Java 14.static final short
Major version number of class files for Java 15.static final short
Major version number of class files for Java 16.static final short
Major version number of class files for Java 17.static final short
Major version number of class files for Java 18.static final short
Major version number of class files for Java 19.static final short
Major version number of class files for Java 9.static final short
Deprecated.UseMAX_ACC_FLAG_I
static final int
One of the access flags for fields, methods, or classes.static final int
The maximum number of dimensions in an array (255).static final int
Maximum value for an unsigned byte.static final int
Maximum code size (plus one; the code size must be LESS than this) One of the limitations of the Java Virtual Machine.static final int
Maximum Constant Pool entries.static final int
Maximum value for an unsigned short.static final short
Default major version number.static final short
Minor version number of class files for Java 1.1.static final short
Minor version number of class files for Java 1.2.static final short
Minor version number of class files for Java 1.3.static final short
Minor version number of class files for Java 1.4.static final short
Minor version number of class files for Java 1.5.static final short
Minor version number of class files for Java 1.6.static final short
Minor version number of class files for Java 1.7.static final short
Minor version number of class files for Java 1.8.static final short
Deprecated.UseMINOR_9
insteadstatic final short
Minor version number of class files for Java 10.static final short
Minor version number of class files for Java 11.static final short
Minor version number of class files for Java 12.static final short
Minor version number of class files for Java 13.static final short
Minor version number of class files for Java 14.static final short
Minor version number of class files for Java 15.static final short
Minor version number of class files for Java 16.static final short
Minor version number of class files for Java 17.static final short
Minor version number of class files for Java 18.static final short
Minor version number of class files for Java 19.static final short
Minor version number of class files for Java 9.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final int
static final short
Java VM opcode.static final short
Java VM opcode.static final short
BCEL virtual instruction for pushing an arbitrary data type onto the stack.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final short
Java VM opcode.static final short
JVM internal opcode.static final short
JVM internal opcode.static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final short
Illegal opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final short
Java VM opcode.static final int
Constants used to identify StackMapEntry types.static final int
static final int
Constants that define the maximum value of those constants which store ranges.static final int
static final int
static final int
static final short
Java VM opcode.static final short
Java VM opcode.static final String
The name of the static initializer, also called "class initialization method" or "interface initialization method".static final short
Java VM opcode.static final short
BCEL virtual instruction for either LOOKUPSWITCH or TABLESWITCH.static final byte
Address data type.static final byte
Array data type.static final byte
Boolean data type.static final byte
Byte data type.static final byte
Char data type.static final byte
Double data type.static final byte
Float data type.static final byte
Int data type.static final byte
Long data type.static final byte
Object data type.static final byte
Reference data type (deprecated).static final byte
Short data type.static final byte
Unknown data type.static final byte
Void data type (non-standard).static final short
Java VM opcode.static final short
Illegal opcode.static final short
Illegal opcode.static final short
Java VM opcode. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getAccessName
(int index) static String
getAttributeName
(int index) static String
getClassTypeName
(int index) The primitive class names corresponding to the T_XX constants, e.g., CLASS_TYPE_NAMES[T_INT] = "java.lang.Integer"static String
getConstantName
(int index) static int
getConsumeStack
(int index) static String
getItemName
(int index) static String
getMethodHandleName
(int index) static short
getNoOfOperands
(int index) static String
getOpcodeName
(int index) static short
getOperandType
(int opcode, int index) static long
getOperandTypeCount
(int opcode) static int
getProduceStack
(int index) static String
getShortTypeName
(int index) static String
getTypeName
(int index) The primitive type names corresponding to the T_XX constants, e.g., TYPE_NAMES[T_INT] = "int"
-
Field Details
-
JVM_CLASSFILE_MAGIC
Java class file format Magic number (0xCAFEBABE) -
MAJOR_1_1
Major version number of class files for Java 1.1.- See Also:
-
MINOR_1_1
Minor version number of class files for Java 1.1.- See Also:
-
MAJOR_1_2
Major version number of class files for Java 1.2.- See Also:
-
MINOR_1_2
Minor version number of class files for Java 1.2.- See Also:
-
MAJOR_1_3
Major version number of class files for Java 1.2.- See Also:
-
MINOR_1_3
Minor version number of class files for Java 1.3.- See Also:
-
MAJOR_1_4
Major version number of class files for Java 1.3.- See Also:
-
MINOR_1_4
Minor version number of class files for Java 1.4.- See Also:
-
MAJOR_1_5
Major version number of class files for Java 1.4.- See Also:
-
MINOR_1_5
Minor version number of class files for Java 1.5.- See Also:
-
MAJOR_1_6
Major version number of class files for Java 1.6.- See Also:
-
MINOR_1_6
Minor version number of class files for Java 1.6.- See Also:
-
MAJOR_1_7
Major version number of class files for Java 1.7.- See Also:
-
MINOR_1_7
Minor version number of class files for Java 1.7.- See Also:
-
MAJOR_1_8
Major version number of class files for Java 1.8.- See Also:
-
MINOR_1_8
Minor version number of class files for Java 1.8.- See Also:
-
MAJOR_9
Major version number of class files for Java 9.- See Also:
-
MINOR_9
Minor version number of class files for Java 9.- See Also:
-
MAJOR_1_9
Deprecated.UseMAJOR_9
instead- See Also:
-
MINOR_1_9
Deprecated.UseMINOR_9
instead- See Also:
-
MAJOR_10
Major version number of class files for Java 10.- See Also:
-
MINOR_10
Minor version number of class files for Java 10.- See Also:
-
MAJOR_11
Major version number of class files for Java 11.- See Also:
-
MINOR_11
Minor version number of class files for Java 11.- See Also:
-
MAJOR_12
Major version number of class files for Java 12.- See Also:
-
MINOR_12
Minor version number of class files for Java 12.- See Also:
-
MAJOR_13
Major version number of class files for Java 13.- See Also:
-
MINOR_13
Minor version number of class files for Java 13.- See Also:
-
MINOR_14
Minor version number of class files for Java 14.- Since:
- 6.4.0
- See Also:
-
MINOR_15
Minor version number of class files for Java 15.- Since:
- 6.6.0
- See Also:
-
MINOR_16
Minor version number of class files for Java 16.- Since:
- 6.6.0
- See Also:
-
MINOR_17
Minor version number of class files for Java 17.- Since:
- 6.6.0
- See Also:
-
MINOR_18
Minor version number of class files for Java 18.- Since:
- 6.6.0
- See Also:
-
MINOR_19
Minor version number of class files for Java 19.- Since:
- 6.6.0
- See Also:
-
MAJOR_14
Major version number of class files for Java 14.- Since:
- 6.4.0
- See Also:
-
MAJOR_15
Major version number of class files for Java 15.- Since:
- 6.6.0
- See Also:
-
MAJOR_16
Major version number of class files for Java 16.- Since:
- 6.6.0
- See Also:
-
MAJOR_17
Major version number of class files for Java 17.- Since:
- 6.6.0
- See Also:
-
MAJOR_18
Major version number of class files for Java 18.- Since:
- 6.6.0
- See Also:
-
MAJOR_19
Major version number of class files for Java 19.- Since:
- 6.6.0
- See Also:
-
MAJOR
Default major version number. Class file is for Java 1.1.- See Also:
-
MINOR
Default major version number. Class file is for Java 1.1.- See Also:
-
MAX_SHORT
Maximum value for an unsigned short.- See Also:
-
MAX_BYTE
Maximum value for an unsigned byte.- See Also:
-
ACC_PUBLIC
One of the access flags for fields, methods, or classes.- See Also:
-
- Flag definitions for Classes in the Java Virtual Machine Specification (Java SE 9 Edition).
- Flag definitions for Fields in the Java Virtual Machine Specification (Java SE 9 Edition).
- Flag definitions for Methods in the Java Virtual Machine Specification (Java SE 9 Edition).
- Flag definitions for Inner Classes in the Java Virtual Machine Specification (Java SE 9 Edition).
- Constant Field Values
-
ACC_PRIVATE
One of the access flags for fields, methods, or classes.- See Also:
-
ACC_PROTECTED
One of the access flags for fields, methods, or classes.- See Also:
-
ACC_STATIC
One of the access flags for fields, methods, or classes.- See Also:
-
ACC_FINAL
One of the access flags for fields, methods, or classes.- See Also:
-
ACC_OPEN
One of the access flags for the Module attribute.- See Also:
-
ACC_SUPER
One of the access flags for classes.- See Also:
-
ACC_SYNCHRONIZED
One of the access flags for methods.- See Also:
-
ACC_TRANSITIVE
One of the access flags for the Module attribute.- See Also:
-
ACC_BRIDGE
One of the access flags for methods.- See Also:
-
ACC_STATIC_PHASE
One of the access flags for the Module attribute.- See Also:
-
ACC_VOLATILE
One of the access flags for fields.- See Also:
-
ACC_TRANSIENT
One of the access flags for fields.- See Also:
-
ACC_VARARGS
One of the access flags for methods.- See Also:
-
ACC_NATIVE
One of the access flags for methods.- See Also:
-
ACC_INTERFACE
One of the access flags for classes.- See Also:
-
ACC_ABSTRACT
One of the access flags for methods or classes.- See Also:
-
ACC_STRICT
One of the access flags for methods.- See Also:
-
ACC_SYNTHETIC
One of the access flags for fields, methods, classes, MethodParameter attribute, or Module attribute.- See Also:
-
ACC_ANNOTATION
One of the access flags for classes.- See Also:
-
ACC_ENUM
One of the access flags for fields or classes.- See Also:
-
ACC_MANDATED
One of the access flags for MethodParameter or Module attributes.- See Also:
-
ACC_MODULE
One of the access flags for classes.- See Also:
-
MAX_ACC_FLAG
Deprecated.UseMAX_ACC_FLAG_I
One of the access flags for fields, methods, or classes.- See Also:
-
MAX_ACC_FLAG_I
One of the access flags for fields, methods, or classes. ACC_MODULE is negative as a short.- Since:
- 6.4.0
- See Also:
-
ACCESS_NAMES_LENGTH
- Since:
- 6.0
-
CONSTANT_Utf8
Marks a constant pool entry as type UTF-8. -
CONSTANT_Integer
Marks a constant pool entry as type Integer. -
CONSTANT_Float
Marks a constant pool entry as type Float. -
CONSTANT_Long
Marks a constant pool entry as type Long. -
CONSTANT_Double
Marks a constant pool entry as type Double. -
CONSTANT_Class
Marks a constant pool entry as a Class -
CONSTANT_Fieldref
Marks a constant pool entry as a Field Reference. -
CONSTANT_String
Marks a constant pool entry as type String -
CONSTANT_Methodref
Marks a constant pool entry as a Method Reference. -
CONSTANT_InterfaceMethodref
Marks a constant pool entry as an Interface Method Reference. -
CONSTANT_NameAndType
Marks a constant pool entry as a name and type. -
CONSTANT_MethodHandle
Marks a constant pool entry as a Method Handle. -
CONSTANT_MethodType
Marks a constant pool entry as a Method Type. -
CONSTANT_Dynamic
Marks a constant pool entry as dynamically computed.- Since:
- 6.3
- See Also:
-
CONSTANT_InvokeDynamic
Marks a constant pool entry as an Invoke Dynamic -
CONSTANT_Module
Marks a constant pool entry as a Module Reference.- Since:
- 6.1
- See Also:
-
CONSTANT_Package
Marks a constant pool entry as a Package Reference.- Since:
- 6.1
- See Also:
-
STATIC_INITIALIZER_NAME
The name of the static initializer, also called "class initialization method" or "interface initialization method". This is "<clinit>".- See Also:
-
CONSTRUCTOR_NAME
The name of every constructor method in a class, also called "instance initialization method". This is "<init>".- See Also:
-
MAX_CP_ENTRIES
Maximum Constant Pool entries. One of the limitations of the Java Virtual Machine. -
MAX_CODE_SIZE
Maximum code size (plus one; the code size must be LESS than this) One of the limitations of the Java Virtual Machine. Note vmspec2 page 152 ("Limitations") says: "The amount of code per non-native, non-abstract method is limited to 65536 bytes by the sizes of the indices in the exception_table of the Code attribute (§4.7.3), in the LineNumberTable attribute (§4.7.8), and in the LocalVariableTable attribute (§4.7.9)." However this should be taken as an upper limit rather than the defined maximum. On page 134 (4.8.1 Static Constants) of the same spec, it says: "The value of the code_length item must be less than 65536." The entry in the Limitations section has been removed from later versions of the spec; it is not present in the Java SE 8 edition. -
MAX_ARRAY_DIMENSIONS
The maximum number of dimensions in an array (255). One of the limitations of the Java Virtual Machine. -
NOP
Java VM opcode. -
ACONST_NULL
Java VM opcode. -
ICONST_M1
Java VM opcode. -
ICONST_0
Java VM opcode. -
ICONST_1
Java VM opcode. -
ICONST_2
Java VM opcode. -
ICONST_3
Java VM opcode. -
ICONST_4
Java VM opcode. -
ICONST_5
Java VM opcode. -
LCONST_0
Java VM opcode. -
LCONST_1
Java VM opcode. -
FCONST_0
Java VM opcode. -
FCONST_1
Java VM opcode. -
FCONST_2
Java VM opcode. -
DCONST_0
Java VM opcode. -
DCONST_1
Java VM opcode. -
BIPUSH
Java VM opcode. -
SIPUSH
Java VM opcode. -
LDC
Java VM opcode. -
LDC_W
Java VM opcode. -
LDC2_W
Java VM opcode. -
ILOAD
Java VM opcode. -
LLOAD
Java VM opcode. -
FLOAD
Java VM opcode. -
DLOAD
Java VM opcode. -
ALOAD
Java VM opcode. -
ILOAD_0
Java VM opcode. -
ILOAD_1
Java VM opcode. -
ILOAD_2
Java VM opcode. -
ILOAD_3
Java VM opcode. -
LLOAD_0
Java VM opcode. -
LLOAD_1
Java VM opcode. -
LLOAD_2
Java VM opcode. -
LLOAD_3
Java VM opcode. -
FLOAD_0
Java VM opcode. -
FLOAD_1
Java VM opcode. -
FLOAD_2
Java VM opcode. -
FLOAD_3
Java VM opcode. -
DLOAD_0
Java VM opcode. -
DLOAD_1
Java VM opcode. -
DLOAD_2
Java VM opcode. -
DLOAD_3
Java VM opcode. -
ALOAD_0
Java VM opcode. -
ALOAD_1
Java VM opcode. -
ALOAD_2
Java VM opcode. -
ALOAD_3
Java VM opcode. -
IALOAD
Java VM opcode. -
LALOAD
Java VM opcode. -
FALOAD
Java VM opcode. -
DALOAD
Java VM opcode. -
AALOAD
Java VM opcode. -
BALOAD
Java VM opcode. -
CALOAD
Java VM opcode. -
SALOAD
Java VM opcode. -
ISTORE
Java VM opcode. -
LSTORE
Java VM opcode. -
FSTORE
Java VM opcode. -
DSTORE
Java VM opcode. -
ASTORE
Java VM opcode. -
ISTORE_0
Java VM opcode. -
ISTORE_1
Java VM opcode. -
ISTORE_2
Java VM opcode. -
ISTORE_3
Java VM opcode. -
LSTORE_0
Java VM opcode. -
LSTORE_1
Java VM opcode. -
LSTORE_2
Java VM opcode. -
LSTORE_3
Java VM opcode. -
FSTORE_0
Java VM opcode. -
FSTORE_1
Java VM opcode. -
FSTORE_2
Java VM opcode. -
FSTORE_3
Java VM opcode. -
DSTORE_0
Java VM opcode. -
DSTORE_1
Java VM opcode. -
DSTORE_2
Java VM opcode. -
DSTORE_3
Java VM opcode. -
ASTORE_0
Java VM opcode. -
ASTORE_1
Java VM opcode. -
ASTORE_2
Java VM opcode. -
ASTORE_3
Java VM opcode. -
IASTORE
Java VM opcode. -
LASTORE
Java VM opcode. -
FASTORE
Java VM opcode. -
DASTORE
Java VM opcode. -
AASTORE
Java VM opcode. -
BASTORE
Java VM opcode. -
CASTORE
Java VM opcode. -
SASTORE
Java VM opcode. -
POP
Java VM opcode. -
POP2
Java VM opcode. -
DUP
Java VM opcode. -
DUP_X1
Java VM opcode. -
DUP_X2
Java VM opcode. -
DUP2
Java VM opcode. -
DUP2_X1
Java VM opcode. -
DUP2_X2
Java VM opcode. -
SWAP
Java VM opcode. -
IADD
Java VM opcode. -
LADD
Java VM opcode. -
FADD
Java VM opcode. -
DADD
Java VM opcode. -
ISUB
Java VM opcode. -
LSUB
Java VM opcode. -
FSUB
Java VM opcode. -
DSUB
Java VM opcode. -
IMUL
Java VM opcode. -
LMUL
Java VM opcode. -
FMUL
Java VM opcode. -
DMUL
Java VM opcode. -
IDIV
Java VM opcode. -
LDIV
Java VM opcode. -
FDIV
Java VM opcode. -
DDIV
Java VM opcode. -
IREM
Java VM opcode. -
LREM
Java VM opcode. -
FREM
Java VM opcode. -
DREM
Java VM opcode. -
INEG
Java VM opcode. -
LNEG
Java VM opcode. -
FNEG
Java VM opcode. -
DNEG
Java VM opcode. -
ISHL
Java VM opcode. -
LSHL
Java VM opcode. -
ISHR
Java VM opcode. -
LSHR
Java VM opcode. -
IUSHR
Java VM opcode. -
LUSHR
Java VM opcode. -
IAND
Java VM opcode. -
LAND
Java VM opcode. -
IOR
Java VM opcode. -
LOR
Java VM opcode. -
IXOR
Java VM opcode. -
LXOR
Java VM opcode. -
IINC
Java VM opcode. -
I2L
Java VM opcode. -
I2F
Java VM opcode. -
I2D
Java VM opcode. -
L2I
Java VM opcode. -
L2F
Java VM opcode. -
L2D
Java VM opcode. -
F2I
Java VM opcode. -
F2L
Java VM opcode. -
F2D
Java VM opcode. -
D2I
Java VM opcode. -
D2L
Java VM opcode. -
D2F
Java VM opcode. -
I2B
Java VM opcode. -
INT2BYTE
Java VM opcode. -
I2C
Java VM opcode. -
INT2CHAR
Java VM opcode. -
I2S
Java VM opcode. -
INT2SHORT
Java VM opcode. -
LCMP
Java VM opcode. -
FCMPL
Java VM opcode. -
FCMPG
Java VM opcode. -
DCMPL
Java VM opcode. -
DCMPG
Java VM opcode. -
IFEQ
Java VM opcode. -
IFNE
Java VM opcode. -
IFLT
Java VM opcode. -
IFGE
Java VM opcode. -
IFGT
Java VM opcode. -
IFLE
Java VM opcode. -
IF_ICMPEQ
Java VM opcode. -
IF_ICMPNE
Java VM opcode. -
IF_ICMPLT
Java VM opcode. -
IF_ICMPGE
Java VM opcode. -
IF_ICMPGT
Java VM opcode. -
IF_ICMPLE
Java VM opcode. -
IF_ACMPEQ
Java VM opcode. -
IF_ACMPNE
Java VM opcode. -
GOTO
Java VM opcode. -
JSR
Java VM opcode. -
RET
Java VM opcode. -
TABLESWITCH
Java VM opcode. -
LOOKUPSWITCH
Java VM opcode. -
IRETURN
Java VM opcode. -
LRETURN
Java VM opcode. -
FRETURN
Java VM opcode. -
DRETURN
Java VM opcode. -
ARETURN
Java VM opcode. -
RETURN
Java VM opcode. -
GETSTATIC
Java VM opcode. -
PUTSTATIC
Java VM opcode. -
GETFIELD
Java VM opcode. -
PUTFIELD
Java VM opcode. -
INVOKEVIRTUAL
Java VM opcode. -
INVOKESPECIAL
Java VM opcode. -
INVOKENONVIRTUAL
Java VM opcode. -
INVOKESTATIC
Java VM opcode. -
INVOKEINTERFACE
Java VM opcode. -
INVOKEDYNAMIC
Java VM opcode. -
NEW
Java VM opcode. -
NEWARRAY
Java VM opcode. -
ANEWARRAY
Java VM opcode. -
ARRAYLENGTH
Java VM opcode. -
ATHROW
Java VM opcode. -
CHECKCAST
Java VM opcode. -
INSTANCEOF
Java VM opcode. -
MONITORENTER
Java VM opcode. -
MONITOREXIT
Java VM opcode. -
WIDE
Java VM opcode. -
MULTIANEWARRAY
Java VM opcode. -
IFNULL
Java VM opcode. -
IFNONNULL
Java VM opcode. -
GOTO_W
Java VM opcode. -
JSR_W
Java VM opcode. -
BREAKPOINT
JVM internal opcode. -
LDC_QUICK
JVM internal opcode. -
LDC_W_QUICK
JVM internal opcode. -
LDC2_W_QUICK
JVM internal opcode. -
GETFIELD_QUICK
JVM internal opcode. -
PUTFIELD_QUICK
JVM internal opcode. -
GETFIELD2_QUICK
JVM internal opcode. -
PUTFIELD2_QUICK
JVM internal opcode. -
GETSTATIC_QUICK
JVM internal opcode. -
PUTSTATIC_QUICK
JVM internal opcode. -
GETSTATIC2_QUICK
JVM internal opcode. -
PUTSTATIC2_QUICK
JVM internal opcode. -
INVOKEVIRTUAL_QUICK
JVM internal opcode. -
INVOKENONVIRTUAL_QUICK
JVM internal opcode. -
INVOKESUPER_QUICK
JVM internal opcode. -
INVOKESTATIC_QUICK
JVM internal opcode. -
INVOKEINTERFACE_QUICK
JVM internal opcode. -
INVOKEVIRTUALOBJECT_QUICK
JVM internal opcode. -
NEW_QUICK
JVM internal opcode. -
ANEWARRAY_QUICK
JVM internal opcode. -
MULTIANEWARRAY_QUICK
JVM internal opcode. -
CHECKCAST_QUICK
JVM internal opcode. -
INSTANCEOF_QUICK
JVM internal opcode. -
INVOKEVIRTUAL_QUICK_W
JVM internal opcode. -
GETFIELD_QUICK_W
JVM internal opcode. -
PUTFIELD_QUICK_W
JVM internal opcode. -
IMPDEP1
JVM internal opcode. -
IMPDEP2
JVM internal opcode. -
PUSH
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.- See Also:
-
SWITCH
BCEL virtual instruction for either LOOKUPSWITCH or TABLESWITCH. Will be converted to the appropriate JVM opcode when the class is dumped.- See Also:
-
UNDEFINED
Illegal opcode.- See Also:
-
UNPREDICTABLE
Illegal opcode.- See Also:
-
RESERVED
Illegal opcode.- See Also:
-
ILLEGAL_OPCODE
Mnemonic for an illegal opcode.- See Also:
-
ILLEGAL_TYPE
Mnemonic for an illegal type.- See Also:
-
T_BOOLEAN
Boolean data type. -
T_CHAR
Char data type. -
T_FLOAT
Float data type. -
T_DOUBLE
Double data type. -
T_BYTE
Byte data type. -
T_SHORT
Short data type. -
T_INT
Int data type. -
T_LONG
Long data type. -
T_VOID
Void data type (non-standard).- See Also:
-
T_ARRAY
Array data type.- See Also:
-
T_OBJECT
Object data type.- See Also:
-
T_REFERENCE
Reference data type (deprecated).- See Also:
-
T_UNKNOWN
Unknown data type.- See Also:
-
T_ADDRESS
Address data type.- See Also:
-
OPCODE_NAMES_LENGTH
- Since:
- 6.0
-
ATTR_UNKNOWN
Attributes and their corresponding names.- See Also:
-
ATTR_SOURCE_FILE
- See Also:
-
ATTR_CONSTANT_VALUE
- See Also:
-
ATTR_CODE
- See Also:
-
ATTR_EXCEPTIONS
- See Also:
-
ATTR_LINE_NUMBER_TABLE
- See Also:
-
ATTR_LOCAL_VARIABLE_TABLE
- See Also:
-
ATTR_INNER_CLASSES
- See Also:
-
ATTR_SYNTHETIC
- See Also:
-
ATTR_DEPRECATED
- See Also:
-
ATTR_PMG
- See Also:
-
ATTR_SIGNATURE
- See Also:
-
ATTR_STACK_MAP
- See Also:
-
ATTR_RUNTIME_VISIBLE_ANNOTATIONS
- See Also:
-
ATTR_RUNTIME_INVISIBLE_ANNOTATIONS
- See Also:
-
ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
- See Also:
-
ATTR_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS
- See Also:
-
ATTR_ANNOTATION_DEFAULT
- See Also:
-
ATTR_LOCAL_VARIABLE_TYPE_TABLE
- See Also:
-
ATTR_ENCLOSING_METHOD
- See Also:
-
ATTR_STACK_MAP_TABLE
- See Also:
-
ATTR_BOOTSTRAP_METHODS
- See Also:
-
ATTR_METHOD_PARAMETERS
- See Also:
-
ATTR_MODULE
- See Also:
-
ATTR_MODULE_PACKAGES
- See Also:
-
ATTR_MODULE_MAIN_CLASS
- See Also:
-
ATTR_NEST_HOST
- See Also:
-
ATTR_NEST_MEMBERS
- See Also:
-
KNOWN_ATTRIBUTES
- See Also:
-
ITEM_Bogus
Constants used in the StackMap attribute.- See Also:
-
ITEM_Integer
- See Also:
-
ITEM_Float
- See Also:
-
ITEM_Double
- See Also:
-
ITEM_Long
- See Also:
-
ITEM_Null
- See Also:
-
ITEM_InitObject
- See Also:
-
ITEM_Object
- See Also:
-
ITEM_NewObject
- See Also:
-
SAME_FRAME
Constants used to identify StackMapEntry types. For those types which can specify a range, the constant names the lowest value.- See Also:
-
SAME_LOCALS_1_STACK_ITEM_FRAME
- See Also:
-
SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED
- See Also:
-
CHOP_FRAME
- See Also:
-
SAME_FRAME_EXTENDED
- See Also:
-
APPEND_FRAME
- See Also:
-
FULL_FRAME
- See Also:
-
SAME_FRAME_MAX
Constants that define the maximum value of those constants which store ranges.- See Also:
-
SAME_LOCALS_1_STACK_ITEM_FRAME_MAX
- See Also:
-
CHOP_FRAME_MAX
- See Also:
-
APPEND_FRAME_MAX
- See Also:
-
REF_getField
- See Also:
-
REF_getStatic
- See Also:
-
REF_putField
- See Also:
-
REF_putStatic
- See Also:
-
REF_invokeVirtual
- See Also:
-
REF_invokeStatic
- See Also:
-
REF_invokeSpecial
- See Also:
-
REF_newInvokeSpecial
- See Also:
-
REF_invokeInterface
- See Also:
-
-
Method Details
-
getAccessName
- Parameters:
index
-- Returns:
- the ACCESS_NAMES entry at the given index
- Since:
- 6.0
-
getAttributeName
- Parameters:
index
-- Returns:
- the attribute name
- Since:
- 6.0
-
getClassTypeName
The primitive class names corresponding to the T_XX constants, e.g., CLASS_TYPE_NAMES[T_INT] = "java.lang.Integer"- Parameters:
index
-- Returns:
- the class name
- Since:
- 6.0
-
getConstantName
- Parameters:
index
-- Returns:
- the CONSTANT_NAMES entry at the given index
- Since:
- 6.0
-
getConsumeStack
- Parameters:
index
-- Returns:
- Number of words consumed on operand stack
- Since:
- 6.0
-
getInterfacesImplementedByArrays
- Since:
- 6.0
-
getItemName
- Parameters:
index
-- Returns:
- the item name
- Since:
- 6.0
-
getMethodHandleName
- Parameters:
index
-- Returns:
- the method handle name
- Since:
- 6.0
-
getNoOfOperands
- Parameters:
index
-- Returns:
- Number of byte code operands
- Since:
- 6.0
-
getOpcodeName
- Since:
- 6.0
-
getOperandType
- Since:
- 6.0
-
getOperandTypeCount
- Since:
- 6.0
-
getProduceStack
- Parameters:
index
-- Returns:
- Number of words produced onto operand stack
- Since:
- 6.0
-
getShortTypeName
- Parameters:
index
-- Returns:
- the short type name
- Since:
- 6.0
-
getTypeName
The primitive type names corresponding to the T_XX constants, e.g., TYPE_NAMES[T_INT] = "int"- Parameters:
index
-- Returns:
- the type name
- Since:
- 6.0
-
MAJOR_9
instead