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
Modifier and TypeFieldDescriptionstatic final short
Java VM opcode 50.static final short
Java VM opcode 83.static final short
One of the access flags for methods or classes: 1024.static final short
One of the access flags for classes: 8192.static final short
One of the access flags for methods: 64.static final short
One of the access flags for fields or classes: 16384.static final short
One of the access flags for fields, methods, or classes: 16.static final short
One of the access flags for classes: 512.static final short
One of the access flags for MethodParameter or Module attributes: -32768.static final short
One of the access flags for classes: -32768.static final short
One of the access flags for methods: 256.static final short
One of the access flags for the Module attribute: 32.static final short
One of the access flags for fields, methods, or classes: 2.static final short
One of the access flags for fields, methods, or classes: 4.static final short
One of the access flags for fields, methods, or classes: 1.static final short
One of the access flags for fields, methods, or classes: 8.static final short
One of the access flags for the Module attribute: 64.static final short
One of the access flags for methods: 2048.static final short
One of the access flags for classes: 32.static final short
One of the access flags for methods: 32.static final short
One of the access flags for fields, methods, classes, MethodParameter attribute, or Module attribute: 4096.static final short
One of the access flags for fields: 128.static final short
One of the access flags for the Module attribute: 32.static final short
One of the access flags for methods: 128.static final short
One of the access flags for fields: 64.static final int
static final short
Java VM opcode 1.static final short
Java VM opcode 25.static final short
Java VM opcode 42.static final short
Java VM opcode 43.static final short
Java VM opcode 44.static final short
Java VM opcode 45.static final short
Java VM opcode 189.static final short
JVM internal opcode 222.static final int
static final int
static final short
Java VM opcode 176.static final short
Java VM opcode 190.static final short
Java VM opcode 58.static final short
Java VM opcode 75.static final short
Java VM opcode 76.static final short
Java VM opcode 77.static final short
Java VM opcode 78.static final short
Java VM opcode 191.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
static final byte
Attributes and their corresponding names.static final short
Java VM opcode 51.static final short
Java VM opcode 84.static final short
Java VM opcode 16.static final short
JVM internal opcode 202.static final short
Java VM opcode 52.static final short
Java VM opcode 85.static final short
Java VM opcode 192.static final short
JVM internal opcode 224.static final int
static final int
static final byte
Marks a constant pool entry as a Class: 0x7.static final byte
Marks a constant pool entry as type Double: 0x6.static final byte
Marks a constant pool entry as dynamically computed: 0x11.static final byte
Marks a constant pool entry as a Field Reference: 0x9.static final byte
Marks a constant pool entry as type Float: 0x4.static final byte
Marks a constant pool entry as type Integer: 0x3.static final byte
Marks a constant pool entry as an Interface Method Reference: 0xb.static final byte
Marks a constant pool entry as an Invoke Dynamic: 0x12.static final byte
Marks a constant pool entry as type Long: 0x5.static final byte
Marks a constant pool entry as a Method Handle: 0xf.static final byte
Marks a constant pool entry as a Method Reference: 0xa.static final byte
Marks a constant pool entry as a Method Type: 0x10.static final byte
Marks a constant pool entry as a Module Reference: 0x13.static final byte
Marks a constant pool entry as a name and type: 0xc.static final byte
Marks a constant pool entry as a Package Reference: 0x14.static final byte
Marks a constant pool entry as type String: 0x8.static final byte
Marks a constant pool entry as type UTF-8: 0x1.static final String
The name of every constructor method in a class, also called "instance initialization method".static final short
Java VM opcode 144.static final short
Java VM opcode 142.static final short
Java VM opcode 143.static final short
Java VM opcode 99.static final short
Java VM opcode 49.static final short
Java VM opcode 82.static final short
Java VM opcode 152.static final short
Java VM opcode 151.static final short
Java VM opcode 14.static final short
Java VM opcode 15.static final short
Java VM opcode 111.static final short
Java VM opcode 24.static final short
Java VM opcode 38.static final short
Java VM opcode 39.static final short
Java VM opcode 40.static final short
Java VM opcode 41.static final short
Java VM opcode 107.static final short
Java VM opcode 119.static final short
Java VM opcode 115.static final short
Java VM opcode 175.static final short
Java VM opcode 57.static final short
Java VM opcode 71.static final short
Java VM opcode 72.static final short
Java VM opcode 73.static final short
Java VM opcode 74.static final short
Java VM opcode 103.static final short
Java VM opcode 89.static final short
Java VM opcode 90.static final short
Java VM opcode 91.static final short
Java VM opcode 92.static final short
Java VM opcode 93.static final short
Java VM opcode 94.static final short
Java VM opcode 141.static final short
Java VM opcode 139.static final short
Java VM opcode 140.static final short
Java VM opcode 98.static final short
Java VM opcode 48.static final short
Java VM opcode 81.static final short
Java VM opcode 150.static final short
Java VM opcode 149.static final short
Java VM opcode 11.static final short
Java VM opcode 12.static final short
Java VM opcode 13.static final short
Java VM opcode 110.static final short
Java VM opcode 23.static final short
Java VM opcode 34.static final short
Java VM opcode 35.static final short
Java VM opcode 36.static final short
Java VM opcode 37.static final short
Java VM opcode 106.static final short
Java VM opcode 118.static final short
Java VM opcode 114.static final short
Java VM opcode 174.static final short
Java VM opcode 56.static final short
Java VM opcode 67.static final short
Java VM opcode 68.static final short
Java VM opcode 69.static final short
Java VM opcode 70.static final short
Java VM opcode 102.static final int
static final short
Java VM opcode 180.static final short
JVM internal opcode 206.static final short
JVM internal opcode 227.static final short
JVM internal opcode 208.static final short
Java VM opcode 178.static final short
JVM internal opcode 210.static final short
JVM internal opcode 212.static final short
Java VM opcode 167.static final short
Java VM opcode 200.static final short
Java VM opcode 145.static final short
Java VM opcode 146.static final short
Java VM opcode 135.static final short
Java VM opcode 134.static final short
Java VM opcode 133.static final short
Java VM opcode 147.static final short
Java VM opcode 96.static final short
Java VM opcode 46.static final short
Java VM opcode 126.static final short
Java VM opcode 79.static final short
Java VM opcode 3.static final short
Java VM opcode 4.static final short
Java VM opcode 5.static final short
Java VM opcode 6.static final short
Java VM opcode 7.static final short
Java VM opcode 8.static final short
Java VM opcode 2.static final short
Java VM opcode 108.static final short
Java VM opcode 165.static final short
Java VM opcode 166.static final short
Java VM opcode 159.static final short
Java VM opcode 162.static final short
Java VM opcode 163.static final short
Java VM opcode 164.static final short
Java VM opcode 161.static final short
Java VM opcode 160.static final short
Java VM opcode 153.static final short
Java VM opcode 156.static final short
Java VM opcode 157.static final short
Java VM opcode 158.static final short
Java VM opcode 155.static final short
Java VM opcode 154.static final short
Java VM opcode 199.static final short
Java VM opcode 198.static final short
Java VM opcode 132.static final String
Mnemonic for an illegal opcode: "<illegal opcode>".static final String
Mnemonic for an illegal type: "<illegal type>".static final short
Java VM opcode 21.static final short
Java VM opcode 26.static final short
Java VM opcode 27.static final short
Java VM opcode 28.static final short
Java VM opcode 29.static final short
JVM internal opcode 254.static final short
JVM internal opcode 255.static final short
Java VM opcode 104.static final short
Java VM opcode 116.static final short
Java VM opcode 193.static final short
JVM internal opcode 225.static final short
Java VM opcode 145.static final short
Java VM opcode 146.static final short
Java VM opcode 147.static final short
Java VM opcode 186.static final short
Java VM opcode 185.static final short
JVM internal opcode 218.static final short
Java VM opcode 183.static final short
JVM internal opcode 215.static final short
Java VM opcode 183.static final short
Java VM opcode 184.static final short
JVM internal opcode 217.static final short
JVM internal opcode 216.static final short
Java VM opcode 182.static final short
JVM internal opcode 214.static final short
JVM internal opcode 226.static final short
JVM internal opcode 219.static final short
Java VM opcode 128.static final short
Java VM opcode 112.static final short
Java VM opcode 172.static final short
Java VM opcode 120.static final short
Java VM opcode 122.static final short
Java VM opcode 54.static final short
Java VM opcode 59.static final short
Java VM opcode 60.static final short
Java VM opcode 61.static final short
Java VM opcode 62.static final short
Java VM opcode 100.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 124.static final short
Java VM opcode 130.static final short
Java VM opcode 168.static final short
Java VM opcode 201.static final int
Java class file format Magic number: -889275714.static final short
static final short
Java VM opcode 138.static final short
Java VM opcode 137.static final short
Java VM opcode 136.static final short
Java VM opcode 97.static final short
Java VM opcode 47.static final short
Java VM opcode 127.static final short
Java VM opcode 80.static final short
Java VM opcode 148.static final short
Java VM opcode 9.static final short
Java VM opcode 10.static final short
Java VM opcode 18.static final short
JVM internal opcode 203.static final short
Java VM opcode 19.static final short
JVM internal opcode 204.static final short
Java VM opcode 20.static final short
JVM internal opcode 205.static final short
Java VM opcode 109.static final short
Java VM opcode 22.static final short
Java VM opcode 30.static final short
Java VM opcode 31.static final short
Java VM opcode 32.static final short
Java VM opcode 33.static final short
Java VM opcode 105.static final short
Java VM opcode 117.static final short
Java VM opcode 171.static final short
Java VM opcode 129.static final short
Java VM opcode 113.static final short
Java VM opcode 173.static final short
Java VM opcode 121.static final short
Java VM opcode 123.static final short
Java VM opcode 55.static final short
Java VM opcode 63.static final short
Java VM opcode 64.static final short
Java VM opcode 65.static final short
Java VM opcode 66.static final short
Java VM opcode 101.static final short
Java VM opcode 125.static final short
Java VM opcode 131.static final short
Default major version number.static final short
Major version number of class files for Java 1.1: 45.static final short
Major version number of class files for Java 1.2: 46.static final short
Major version number of class files for Java 1.2: 47.static final short
Major version number of class files for Java 1.3: 48.static final short
Major version number of class files for Java 1.4: 49.static final short
Major version number of class files for Java 1.6: 50.static final short
Major version number of class files for Java 1.7: 51.static final short
Major version number of class files for Java 1.8: 52.static final short
Deprecated.static final short
Major version number of class files for Java 10: 54.static final short
Major version number of class files for Java 11: 55.static final short
Major version number of class files for Java 12: 56.static final short
Major version number of class files for Java 13: 57.static final short
Major version number of class files for Java 14: 58.static final short
Major version number of class files for Java 15: 59.static final short
Major version number of class files for Java 16: 60.static final short
Major version number of class files for Java 17: 61.static final short
Major version number of class files for Java 18: 62.static final short
Major version number of class files for Java 19: 63.static final short
Major version number of class files for Java 20: 64.static final short
Major version number of class files for Java 21: 65.static final short
Major version number of class files for Java 9: 53.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: 255.static final int
Maximum code size (plus one; the code size must be LESS than this): 65536.static final int
Maximum Constant Pool entries: 65535.static final int
Maximum value for an unsigned short: 65535.static final short
Default major version number.static final short
Minor version number of class files for Java 1.1: 3.static final short
Minor version number of class files for Java 1.2: 0.static final short
Minor version number of class files for Java 1.3: 0.static final short
Minor version number of class files for Java 1.4: 0.static final short
Minor version number of class files for Java 1.5: 0.static final short
Minor version number of class files for Java 1.6: 0.static final short
Minor version number of class files for Java 1.7: 0.static final short
Minor version number of class files for Java 1.8: 0.static final short
Deprecated.UseMINOR_9
(0) instead.static final short
Minor version number of class files for Java 10: 0.static final short
Minor version number of class files for Java 11: 0.static final short
Minor version number of class files for Java 12: 0.static final short
Minor version number of class files for Java 13: 0.static final short
Minor version number of class files for Java 14: 0.static final short
Minor version number of class files for Java 15: 0.static final short
Minor version number of class files for Java 16: 0.static final short
Minor version number of class files for Java 17: 0.static final short
Minor version number of class files for Java 18: 0.static final short
Minor version number of class files for Java 19: 0.static final short
Minor version number of class files for Java 20: 0.static final short
Minor version number of class files for Java 21: 0.static final short
Minor version number of class files for Java 9: 0.static final short
Java VM opcode 194.static final short
Java VM opcode 195.static final short
Java VM opcode 197.static final short
JVM internal opcode 223.static final short
Java VM opcode 187.static final short
JVM internal opcode 221.static final short
Java VM opcode 188.static final short
Java VM opcode 0.static final int
static final short
Java VM opcode 87.static final short
Java VM opcode 88.static final short
BCEL virtual instruction for pushing an arbitrary data type onto the stack: 4711.static final short
Java VM opcode 181.static final short
JVM internal opcode 207.static final short
JVM internal opcode 228.static final short
JVM internal opcode 209.static final short
Java VM opcode 179.static final short
JVM internal opcode 211.static final short
JVM internal opcode 213.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: -3.static final short
Java VM opcode 169.static final short
Java VM opcode 177.static final short
Java VM opcode 53.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 86.static final String[]
The signature characters corresponding to primitive types, e.g., SHORT_TYPE_NAMES[T_INT] = "I"static final short
Java VM opcode 17.static final String
The name of the static initializer, also called "class initialization method" or "interface initialization method".static final short
Java VM opcode 95.static final short
BCEL virtual instruction for either LOOKUPSWITCH or TABLESWITCH: 4712.static final byte
Address data type.static final byte
Array data type.static final byte
Boolean data type: 0x4.static final byte
Byte data type: 0x8.static final byte
Char data type: 0x5.static final byte
Double data type: 0x7.static final byte
Float data type: 0x6.static final byte
Int data type: 0xa.static final byte
Long data type: 0xb.static final byte
Object data type.static final byte
Reference data type (deprecated).static final byte
Short data type: 0x9.static final byte
Unknown data type.static final byte
Void data type (non-standard).static final short
Java VM opcode 170.static final short
Illegal opcode: -1.static final short
Illegal opcode: -2.static final short
Java VM opcode 196. -
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: -889275714. -
MAJOR_1_1
Major version number of class files for Java 1.1: 45.- See Also:
-
MINOR_1_1
Minor version number of class files for Java 1.1: 3.- See Also:
-
MAJOR_1_2
Major version number of class files for Java 1.2: 46.- See Also:
-
MINOR_1_2
Minor version number of class files for Java 1.2: 0.- See Also:
-
MAJOR_1_3
Major version number of class files for Java 1.2: 47.- See Also:
-
MINOR_1_3
Minor version number of class files for Java 1.3: 0.- See Also:
-
MAJOR_1_4
Major version number of class files for Java 1.3: 48.- See Also:
-
MINOR_1_4
Minor version number of class files for Java 1.4: 0.- See Also:
-
MAJOR_1_5
Major version number of class files for Java 1.4: 49.- See Also:
-
MINOR_1_5
Minor version number of class files for Java 1.5: 0.- See Also:
-
MAJOR_1_6
Major version number of class files for Java 1.6: 50.- See Also:
-
MINOR_1_6
Minor version number of class files for Java 1.6: 0.- See Also:
-
MAJOR_1_7
Major version number of class files for Java 1.7: 51.- See Also:
-
MINOR_1_7
Minor version number of class files for Java 1.7: 0.- See Also:
-
MAJOR_1_8
Major version number of class files for Java 1.8: 52.- See Also:
-
MINOR_1_8
Minor version number of class files for Java 1.8: 0.- See Also:
-
MAJOR_9
Major version number of class files for Java 9: 53.- See Also:
-
MINOR_9
Minor version number of class files for Java 9: 0.- See Also:
-
MAJOR_1_9
Deprecated.UseMAJOR_9
(53) instead.- See Also:
-
MINOR_1_9
Deprecated.UseMINOR_9
(0) instead.- See Also:
-
MAJOR_10
Major version number of class files for Java 10: 54.- See Also:
-
MINOR_10
Minor version number of class files for Java 10: 0.- See Also:
-
MAJOR_11
Major version number of class files for Java 11: 55.- See Also:
-
MINOR_11
Minor version number of class files for Java 11: 0.- See Also:
-
MAJOR_12
Major version number of class files for Java 12: 56.- See Also:
-
MINOR_12
Minor version number of class files for Java 12: 0.- See Also:
-
MAJOR_13
Major version number of class files for Java 13: 57.- See Also:
-
MINOR_13
Minor version number of class files for Java 13: 0.- See Also:
-
MINOR_14
Minor version number of class files for Java 14: 0.- Since:
- 6.4.0
- See Also:
-
MINOR_15
Minor version number of class files for Java 15: 0.- Since:
- 6.6.0
- See Also:
-
MINOR_16
Minor version number of class files for Java 16: 0.- Since:
- 6.6.0
- See Also:
-
MINOR_17
Minor version number of class files for Java 17: 0.- Since:
- 6.6.0
- See Also:
-
MINOR_18
Minor version number of class files for Java 18: 0.- Since:
- 6.6.0
- See Also:
-
MINOR_19
Minor version number of class files for Java 19: 0.- Since:
- 6.6.0
- See Also:
-
MINOR_20
Minor version number of class files for Java 20: 0.- Since:
- 6.8.0
- See Also:
-
MINOR_21
Minor version number of class files for Java 21: 0.- Since:
- 6.8.0
- See Also:
-
MAJOR_14
Major version number of class files for Java 14: 58.- Since:
- 6.4.0
- See Also:
-
MAJOR_15
Major version number of class files for Java 15: 59.- Since:
- 6.6.0
- See Also:
-
MAJOR_16
Major version number of class files for Java 16: 60.- Since:
- 6.6.0
- See Also:
-
MAJOR_17
Major version number of class files for Java 17: 61.- Since:
- 6.6.0
- See Also:
-
MAJOR_18
Major version number of class files for Java 18: 62.- Since:
- 6.6.0
- See Also:
-
MAJOR_19
Major version number of class files for Java 19: 63.- Since:
- 6.6.0
- See Also:
-
MAJOR_20
Major version number of class files for Java 20: 64.- Since:
- 6.8.0
- See Also:
-
MAJOR_21
Major version number of class files for Java 21: 65.- Since:
- 6.8.0
- See Also:
-
MAJOR
Default major version number. Class file is for Java 1.1: 45.- See Also:
-
MINOR
Default major version number. Class file is for Java 1.1: 3.- See Also:
-
MAX_SHORT
Maximum value for an unsigned short: 65535.- See Also:
-
MAX_BYTE
Maximum value for an unsigned byte: 255.- See Also:
-
ACC_PUBLIC
One of the access flags for fields, methods, or classes: 1.- 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: 2.- See Also:
-
ACC_PROTECTED
One of the access flags for fields, methods, or classes: 4.- See Also:
-
ACC_STATIC
One of the access flags for fields, methods, or classes: 8.- See Also:
-
ACC_FINAL
One of the access flags for fields, methods, or classes: 16.- See Also:
-
ACC_OPEN
One of the access flags for the Module attribute: 32.- See Also:
-
ACC_SUPER
One of the access flags for classes: 32.- See Also:
-
ACC_SYNCHRONIZED
One of the access flags for methods: 32.- See Also:
-
ACC_TRANSITIVE
One of the access flags for the Module attribute: 32.- See Also:
-
ACC_BRIDGE
One of the access flags for methods: 64.- See Also:
-
ACC_STATIC_PHASE
One of the access flags for the Module attribute: 64.- See Also:
-
ACC_VOLATILE
One of the access flags for fields: 64.- See Also:
-
ACC_TRANSIENT
One of the access flags for fields: 128.- See Also:
-
ACC_VARARGS
One of the access flags for methods: 128.- See Also:
-
ACC_NATIVE
One of the access flags for methods: 256.- See Also:
-
ACC_INTERFACE
One of the access flags for classes: 512.- See Also:
-
ACC_ABSTRACT
One of the access flags for methods or classes: 1024.- See Also:
-
ACC_STRICT
One of the access flags for methods: 2048.- See Also:
-
ACC_SYNTHETIC
One of the access flags for fields, methods, classes, MethodParameter attribute, or Module attribute: 4096.- See Also:
-
ACC_ANNOTATION
One of the access flags for classes: 8192.- See Also:
-
ACC_ENUM
One of the access flags for fields or classes: 16384.- See Also:
-
ACC_MANDATED
One of the access flags for MethodParameter or Module attributes: -32768.- See Also:
-
ACC_MODULE
One of the access flags for classes: -32768.- See Also:
-
MAX_ACC_FLAG
Deprecated.UseMAX_ACC_FLAG_I
One of the access flags for fields, methods, or classes: 16384.- See Also:
-
MAX_ACC_FLAG_I
One of the access flags for fields, methods, or classes. ACC_MODULE is negative as a short: 32768.- Since:
- 6.4.0
- See Also:
-
ACCESS_NAMES_LENGTH
- Since:
- 6.0
-
CONSTANT_Utf8
Marks a constant pool entry as type UTF-8: 0x1. -
CONSTANT_Integer
Marks a constant pool entry as type Integer: 0x3. -
CONSTANT_Float
Marks a constant pool entry as type Float: 0x4. -
CONSTANT_Long
Marks a constant pool entry as type Long: 0x5. -
CONSTANT_Double
Marks a constant pool entry as type Double: 0x6. -
CONSTANT_Class
Marks a constant pool entry as a Class: 0x7. -
CONSTANT_Fieldref
Marks a constant pool entry as a Field Reference: 0x9. -
CONSTANT_String
Marks a constant pool entry as type String: 0x8. -
CONSTANT_Methodref
Marks a constant pool entry as a Method Reference: 0xa. -
CONSTANT_InterfaceMethodref
Marks a constant pool entry as an Interface Method Reference: 0xb. -
CONSTANT_NameAndType
Marks a constant pool entry as a name and type: 0xc. -
CONSTANT_MethodHandle
Marks a constant pool entry as a Method Handle: 0xf. -
CONSTANT_MethodType
Marks a constant pool entry as a Method Type: 0x10. -
CONSTANT_Dynamic
Marks a constant pool entry as dynamically computed: 0x11.- Since:
- 6.3
- See Also:
-
CONSTANT_InvokeDynamic
Marks a constant pool entry as an Invoke Dynamic: 0x12. -
CONSTANT_Module
Marks a constant pool entry as a Module Reference: 0x13.- Since:
- 6.1
- See Also:
-
CONSTANT_Package
Marks a constant pool entry as a Package Reference: 0x14.- 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: 65535. 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): 65536.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 specification; 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 0. -
ACONST_NULL
Java VM opcode 1. -
ICONST_M1
Java VM opcode 2. -
ICONST_0
Java VM opcode 3. -
ICONST_1
Java VM opcode 4. -
ICONST_2
Java VM opcode 5. -
ICONST_3
Java VM opcode 6. -
ICONST_4
Java VM opcode 7. -
ICONST_5
Java VM opcode 8. -
LCONST_0
Java VM opcode 9. -
LCONST_1
Java VM opcode 10. -
FCONST_0
Java VM opcode 11. -
FCONST_1
Java VM opcode 12. -
FCONST_2
Java VM opcode 13. -
DCONST_0
Java VM opcode 14. -
DCONST_1
Java VM opcode 15. -
BIPUSH
Java VM opcode 16. -
SIPUSH
Java VM opcode 17. -
LDC
Java VM opcode 18. -
LDC_W
Java VM opcode 19. -
LDC2_W
Java VM opcode 20. -
ILOAD
Java VM opcode 21. -
LLOAD
Java VM opcode 22. -
FLOAD
Java VM opcode 23. -
DLOAD
Java VM opcode 24. -
ALOAD
Java VM opcode 25. -
ILOAD_0
Java VM opcode 26. -
ILOAD_1
Java VM opcode 27. -
ILOAD_2
Java VM opcode 28. -
ILOAD_3
Java VM opcode 29. -
LLOAD_0
Java VM opcode 30. -
LLOAD_1
Java VM opcode 31. -
LLOAD_2
Java VM opcode 32. -
LLOAD_3
Java VM opcode 33. -
FLOAD_0
Java VM opcode 34. -
FLOAD_1
Java VM opcode 35. -
FLOAD_2
Java VM opcode 36. -
FLOAD_3
Java VM opcode 37. -
DLOAD_0
Java VM opcode 38. -
DLOAD_1
Java VM opcode 39. -
DLOAD_2
Java VM opcode 40. -
DLOAD_3
Java VM opcode 41. -
ALOAD_0
Java VM opcode 42. -
ALOAD_1
Java VM opcode 43. -
ALOAD_2
Java VM opcode 44. -
ALOAD_3
Java VM opcode 45. -
IALOAD
Java VM opcode 46. -
LALOAD
Java VM opcode 47. -
FALOAD
Java VM opcode 48. -
DALOAD
Java VM opcode 49. -
AALOAD
Java VM opcode 50. -
BALOAD
Java VM opcode 51. -
CALOAD
Java VM opcode 52. -
SALOAD
Java VM opcode 53. -
ISTORE
Java VM opcode 54. -
LSTORE
Java VM opcode 55. -
FSTORE
Java VM opcode 56. -
DSTORE
Java VM opcode 57. -
ASTORE
Java VM opcode 58. -
ISTORE_0
Java VM opcode 59. -
ISTORE_1
Java VM opcode 60. -
ISTORE_2
Java VM opcode 61. -
ISTORE_3
Java VM opcode 62. -
LSTORE_0
Java VM opcode 63. -
LSTORE_1
Java VM opcode 64. -
LSTORE_2
Java VM opcode 65. -
LSTORE_3
Java VM opcode 66. -
FSTORE_0
Java VM opcode 67. -
FSTORE_1
Java VM opcode 68. -
FSTORE_2
Java VM opcode 69. -
FSTORE_3
Java VM opcode 70. -
DSTORE_0
Java VM opcode 71. -
DSTORE_1
Java VM opcode 72. -
DSTORE_2
Java VM opcode 73. -
DSTORE_3
Java VM opcode 74. -
ASTORE_0
Java VM opcode 75. -
ASTORE_1
Java VM opcode 76. -
ASTORE_2
Java VM opcode 77. -
ASTORE_3
Java VM opcode 78. -
IASTORE
Java VM opcode 79. -
LASTORE
Java VM opcode 80. -
FASTORE
Java VM opcode 81. -
DASTORE
Java VM opcode 82. -
AASTORE
Java VM opcode 83. -
BASTORE
Java VM opcode 84. -
CASTORE
Java VM opcode 85. -
SASTORE
Java VM opcode 86. -
POP
Java VM opcode 87. -
POP2
Java VM opcode 88. -
DUP
Java VM opcode 89. -
DUP_X1
Java VM opcode 90. -
DUP_X2
Java VM opcode 91. -
DUP2
Java VM opcode 92. -
DUP2_X1
Java VM opcode 93. -
DUP2_X2
Java VM opcode 94. -
SWAP
Java VM opcode 95. -
IADD
Java VM opcode 96. -
LADD
Java VM opcode 97. -
FADD
Java VM opcode 98. -
DADD
Java VM opcode 99. -
ISUB
Java VM opcode 100. -
LSUB
Java VM opcode 101. -
FSUB
Java VM opcode 102. -
DSUB
Java VM opcode 103. -
IMUL
Java VM opcode 104. -
LMUL
Java VM opcode 105. -
FMUL
Java VM opcode 106. -
DMUL
Java VM opcode 107. -
IDIV
Java VM opcode 108. -
LDIV
Java VM opcode 109. -
FDIV
Java VM opcode 110. -
DDIV
Java VM opcode 111. -
IREM
Java VM opcode 112. -
LREM
Java VM opcode 113. -
FREM
Java VM opcode 114. -
DREM
Java VM opcode 115. -
INEG
Java VM opcode 116. -
LNEG
Java VM opcode 117. -
FNEG
Java VM opcode 118. -
DNEG
Java VM opcode 119. -
ISHL
Java VM opcode 120. -
LSHL
Java VM opcode 121. -
ISHR
Java VM opcode 122. -
LSHR
Java VM opcode 123. -
IUSHR
Java VM opcode 124. -
LUSHR
Java VM opcode 125. -
IAND
Java VM opcode 126. -
LAND
Java VM opcode 127. -
IOR
Java VM opcode 128. -
LOR
Java VM opcode 129. -
IXOR
Java VM opcode 130. -
LXOR
Java VM opcode 131. -
IINC
Java VM opcode 132. -
I2L
Java VM opcode 133. -
I2F
Java VM opcode 134. -
I2D
Java VM opcode 135. -
L2I
Java VM opcode 136. -
L2F
Java VM opcode 137. -
L2D
Java VM opcode 138. -
F2I
Java VM opcode 139. -
F2L
Java VM opcode 140. -
F2D
Java VM opcode 141. -
D2I
Java VM opcode 142. -
D2L
Java VM opcode 143. -
D2F
Java VM opcode 144. -
I2B
Java VM opcode 145. -
INT2BYTE
Java VM opcode 145. -
I2C
Java VM opcode 146. -
INT2CHAR
Java VM opcode 146. -
I2S
Java VM opcode 147. -
INT2SHORT
Java VM opcode 147. -
LCMP
Java VM opcode 148. -
FCMPL
Java VM opcode 149. -
FCMPG
Java VM opcode 150. -
DCMPL
Java VM opcode 151. -
DCMPG
Java VM opcode 152. -
IFEQ
Java VM opcode 153. -
IFNE
Java VM opcode 154. -
IFLT
Java VM opcode 155. -
IFGE
Java VM opcode 156. -
IFGT
Java VM opcode 157. -
IFLE
Java VM opcode 158. -
IF_ICMPEQ
Java VM opcode 159. -
IF_ICMPNE
Java VM opcode 160. -
IF_ICMPLT
Java VM opcode 161. -
IF_ICMPGE
Java VM opcode 162. -
IF_ICMPGT
Java VM opcode 163. -
IF_ICMPLE
Java VM opcode 164. -
IF_ACMPEQ
Java VM opcode 165. -
IF_ACMPNE
Java VM opcode 166. -
GOTO
Java VM opcode 167. -
JSR
Java VM opcode 168. -
RET
Java VM opcode 169. -
TABLESWITCH
Java VM opcode 170. -
LOOKUPSWITCH
Java VM opcode 171. -
IRETURN
Java VM opcode 172. -
LRETURN
Java VM opcode 173. -
FRETURN
Java VM opcode 174. -
DRETURN
Java VM opcode 175. -
ARETURN
Java VM opcode 176. -
RETURN
Java VM opcode 177. -
GETSTATIC
Java VM opcode 178. -
PUTSTATIC
Java VM opcode 179. -
GETFIELD
Java VM opcode 180. -
PUTFIELD
Java VM opcode 181. -
INVOKEVIRTUAL
Java VM opcode 182. -
INVOKESPECIAL
Java VM opcode 183. -
INVOKENONVIRTUAL
Java VM opcode 183. -
INVOKESTATIC
Java VM opcode 184. -
INVOKEINTERFACE
Java VM opcode 185. -
INVOKEDYNAMIC
Java VM opcode 186. -
NEW
Java VM opcode 187. -
NEWARRAY
Java VM opcode 188. -
ANEWARRAY
Java VM opcode 189. -
ARRAYLENGTH
Java VM opcode 190. -
ATHROW
Java VM opcode 191. -
CHECKCAST
Java VM opcode 192. -
INSTANCEOF
Java VM opcode 193. -
MONITORENTER
Java VM opcode 194. -
MONITOREXIT
Java VM opcode 195. -
WIDE
Java VM opcode 196. -
MULTIANEWARRAY
Java VM opcode 197. -
IFNULL
Java VM opcode 198. -
IFNONNULL
Java VM opcode 199. -
GOTO_W
Java VM opcode 200. -
JSR_W
Java VM opcode 201. -
BREAKPOINT
JVM internal opcode 202. -
LDC_QUICK
JVM internal opcode 203. -
LDC_W_QUICK
JVM internal opcode 204. -
LDC2_W_QUICK
JVM internal opcode 205. -
GETFIELD_QUICK
JVM internal opcode 206. -
PUTFIELD_QUICK
JVM internal opcode 207. -
GETFIELD2_QUICK
JVM internal opcode 208. -
PUTFIELD2_QUICK
JVM internal opcode 209. -
GETSTATIC_QUICK
JVM internal opcode 210. -
PUTSTATIC_QUICK
JVM internal opcode 211. -
GETSTATIC2_QUICK
JVM internal opcode 212. -
PUTSTATIC2_QUICK
JVM internal opcode 213. -
INVOKEVIRTUAL_QUICK
JVM internal opcode 214. -
INVOKENONVIRTUAL_QUICK
JVM internal opcode 215. -
INVOKESUPER_QUICK
JVM internal opcode 216. -
INVOKESTATIC_QUICK
JVM internal opcode 217. -
INVOKEINTERFACE_QUICK
JVM internal opcode 218. -
INVOKEVIRTUALOBJECT_QUICK
JVM internal opcode 219. -
NEW_QUICK
JVM internal opcode 221. -
ANEWARRAY_QUICK
JVM internal opcode 222. -
MULTIANEWARRAY_QUICK
JVM internal opcode 223. -
CHECKCAST_QUICK
JVM internal opcode 224. -
INSTANCEOF_QUICK
JVM internal opcode 225. -
INVOKEVIRTUAL_QUICK_W
JVM internal opcode 226. -
GETFIELD_QUICK_W
JVM internal opcode 227. -
PUTFIELD_QUICK_W
JVM internal opcode 228. -
IMPDEP1
JVM internal opcode 254. -
IMPDEP2
JVM internal opcode 255. -
PUSH
BCEL virtual instruction for pushing an arbitrary data type onto the stack: 4711. Will be converted to the appropriate JVM opcode when the class is dumped.- See Also:
-
SWITCH
BCEL virtual instruction for either LOOKUPSWITCH or TABLESWITCH: 4712. Will be converted to the appropriate JVM opcode when the class is dumped.- See Also:
-
UNDEFINED
Illegal opcode: -1.- See Also:
-
UNPREDICTABLE
Illegal opcode: -2.- See Also:
-
RESERVED
Illegal opcode: -3.- See Also:
-
ILLEGAL_OPCODE
Mnemonic for an illegal opcode: "<illegal opcode>".- See Also:
-
ILLEGAL_TYPE
Mnemonic for an illegal type: "<illegal type>".- See Also:
-
T_BOOLEAN
Boolean data type: 0x4. -
T_CHAR
Char data type: 0x5. -
T_FLOAT
Float data type: 0x6. -
T_DOUBLE
Double data type: 0x7. -
T_BYTE
Byte data type: 0x8. -
T_SHORT
Short data type: 0x9. -
T_INT
Int data type: 0xa. -
T_LONG
Long data type: 0xb. -
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:
-
SHORT_TYPE_NAMES
The signature characters corresponding to primitive types, e.g., SHORT_TYPE_NAMES[T_INT] = "I" -
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:
-
ATTR_RECORD
- 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
- index intoACCESS_NAMES
.- Returns:
- the ACCESS_NAMES entry at the given index
- Since:
- 6.0
-
getAttributeName
- Parameters:
index
- index intoACCESS_NAMES
.- 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
- index intoCLASS_TYPE_NAMES
.- Returns:
- the class name
- Since:
- 6.0
-
getConstantName
- Parameters:
index
- index intoCONSTANT_NAMES
.- Returns:
- the CONSTANT_NAMES entry at the given index
- Since:
- 6.0
-
getConsumeStack
- Parameters:
index
- index intoCONSUME_STACK
.- Returns:
- Number of words consumed on operand stack
- Since:
- 6.0
-
getInterfacesImplementedByArrays
- Since:
- 6.0
-
getItemName
- Parameters:
index
- index intoITEM_NAMES
.- Returns:
- the item name
- Since:
- 6.0
-
getMethodHandleName
- Parameters:
index
- index intoMETHODHANDLE_NAMES
.- Returns:
- the method handle name
- Since:
- 6.0
-
getNoOfOperands
- Parameters:
index
- index intoNO_OF_OPERANDS
.- 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
(53) instead.