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 22: 66.static final short
Major version number of class files for Java 23: 67.static final short
Major version number of class files for Java 24: 68.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 22: 0.static final short
Minor version number of class files for Java 23: 0.static final short
Minor version number of class files for Java 24: 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.- See Also:
-
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:
-
MINOR_22
Minor version number of class files for Java 22: 0.- Since:
- 6.10.0
- See Also:
-
MINOR_23
Minor version number of class files for Java 23: 0.- Since:
- 6.10.0
- See Also:
-
MINOR_24
Minor version number of class files for Java 24: 0.- Since:
- 6.10.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_22
Major version number of class files for Java 22: 66.- Since:
- 6.10.0
- See Also:
-
MAJOR_23
Major version number of class files for Java 23: 67.- Since:
- 6.10.0
- See Also:
-
MAJOR_24
Major version number of class files for Java 24: 68.- Since:
- 6.10.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:
-
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.- See Also:
-
CONSTANT_Integer
Marks a constant pool entry as type Integer: 0x3.- See Also:
-
CONSTANT_Float
Marks a constant pool entry as type Float: 0x4.- See Also:
-
CONSTANT_Long
Marks a constant pool entry as type Long: 0x5.- See Also:
-
CONSTANT_Double
Marks a constant pool entry as type Double: 0x6.- See Also:
-
CONSTANT_Class
Marks a constant pool entry as a Class: 0x7.- See Also:
-
CONSTANT_Fieldref
Marks a constant pool entry as a Field Reference: 0x9.- See Also:
-
CONSTANT_String
Marks a constant pool entry as type String: 0x8.- See Also:
-
CONSTANT_Methodref
Marks a constant pool entry as a Method Reference: 0xa.- See Also:
-
CONSTANT_InterfaceMethodref
Marks a constant pool entry as an Interface Method Reference: 0xb.- See Also:
-
CONSTANT_NameAndType
Marks a constant pool entry as a name and type: 0xc.- See Also:
-
CONSTANT_MethodHandle
Marks a constant pool entry as a Method Handle: 0xf.- See Also:
-
CONSTANT_MethodType
Marks a constant pool entry as a Method Type: 0x10.- See Also:
-
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.- See Also:
-
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.- See Also:
-
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.
- See Also:
-
MAX_ARRAY_DIMENSIONS
The maximum number of dimensions in an array: 255. One of the limitations of the Java Virtual Machine.- See Also:
-
NOP
Java VM opcode 0.- See Also:
-
ACONST_NULL
Java VM opcode 1.- See Also:
-
ICONST_M1
Java VM opcode 2.- See Also:
-
ICONST_0
Java VM opcode 3.- See Also:
-
ICONST_1
Java VM opcode 4.- See Also:
-
ICONST_2
Java VM opcode 5.- See Also:
-
ICONST_3
Java VM opcode 6.- See Also:
-
ICONST_4
Java VM opcode 7.- See Also:
-
ICONST_5
Java VM opcode 8.- See Also:
-
LCONST_0
Java VM opcode 9.- See Also:
-
LCONST_1
Java VM opcode 10.- See Also:
-
FCONST_0
Java VM opcode 11.- See Also:
-
FCONST_1
Java VM opcode 12.- See Also:
-
FCONST_2
Java VM opcode 13.- See Also:
-
DCONST_0
Java VM opcode 14.- See Also:
-
DCONST_1
Java VM opcode 15.- See Also:
-
BIPUSH
Java VM opcode 16.- See Also:
-
SIPUSH
Java VM opcode 17.- See Also:
-
LDC
Java VM opcode 18.- See Also:
-
LDC_W
Java VM opcode 19.- See Also:
-
LDC2_W
Java VM opcode 20.- See Also:
-
ILOAD
Java VM opcode 21.- See Also:
-
LLOAD
Java VM opcode 22.- See Also:
-
FLOAD
Java VM opcode 23.- See Also:
-
DLOAD
Java VM opcode 24.- See Also:
-
ALOAD
Java VM opcode 25.- See Also:
-
ILOAD_0
Java VM opcode 26.- See Also:
-
ILOAD_1
Java VM opcode 27.- See Also:
-
ILOAD_2
Java VM opcode 28.- See Also:
-
ILOAD_3
Java VM opcode 29.- See Also:
-
LLOAD_0
Java VM opcode 30.- See Also:
-
LLOAD_1
Java VM opcode 31.- See Also:
-
LLOAD_2
Java VM opcode 32.- See Also:
-
LLOAD_3
Java VM opcode 33.- See Also:
-
FLOAD_0
Java VM opcode 34.- See Also:
-
FLOAD_1
Java VM opcode 35.- See Also:
-
FLOAD_2
Java VM opcode 36.- See Also:
-
FLOAD_3
Java VM opcode 37.- See Also:
-
DLOAD_0
Java VM opcode 38.- See Also:
-
DLOAD_1
Java VM opcode 39.- See Also:
-
DLOAD_2
Java VM opcode 40.- See Also:
-
DLOAD_3
Java VM opcode 41.- See Also:
-
ALOAD_0
Java VM opcode 42.- See Also:
-
ALOAD_1
Java VM opcode 43.- See Also:
-
ALOAD_2
Java VM opcode 44.- See Also:
-
ALOAD_3
Java VM opcode 45.- See Also:
-
IALOAD
Java VM opcode 46.- See Also:
-
LALOAD
Java VM opcode 47.- See Also:
-
FALOAD
Java VM opcode 48.- See Also:
-
DALOAD
Java VM opcode 49.- See Also:
-
AALOAD
Java VM opcode 50.- See Also:
-
BALOAD
Java VM opcode 51.- See Also:
-
CALOAD
Java VM opcode 52.- See Also:
-
SALOAD
Java VM opcode 53.- See Also:
-
ISTORE
Java VM opcode 54.- See Also:
-
LSTORE
Java VM opcode 55.- See Also:
-
FSTORE
Java VM opcode 56.- See Also:
-
DSTORE
Java VM opcode 57.- See Also:
-
ASTORE
Java VM opcode 58.- See Also:
-
ISTORE_0
Java VM opcode 59.- See Also:
-
ISTORE_1
Java VM opcode 60.- See Also:
-
ISTORE_2
Java VM opcode 61.- See Also:
-
ISTORE_3
Java VM opcode 62.- See Also:
-
LSTORE_0
Java VM opcode 63.- See Also:
-
LSTORE_1
Java VM opcode 64.- See Also:
-
LSTORE_2
Java VM opcode 65.- See Also:
-
LSTORE_3
Java VM opcode 66.- See Also:
-
FSTORE_0
Java VM opcode 67.- See Also:
-
FSTORE_1
Java VM opcode 68.- See Also:
-
FSTORE_2
Java VM opcode 69.- See Also:
-
FSTORE_3
Java VM opcode 70.- See Also:
-
DSTORE_0
Java VM opcode 71.- See Also:
-
DSTORE_1
Java VM opcode 72.- See Also:
-
DSTORE_2
Java VM opcode 73.- See Also:
-
DSTORE_3
Java VM opcode 74.- See Also:
-
ASTORE_0
Java VM opcode 75.- See Also:
-
ASTORE_1
Java VM opcode 76.- See Also:
-
ASTORE_2
Java VM opcode 77.- See Also:
-
ASTORE_3
Java VM opcode 78.- See Also:
-
IASTORE
Java VM opcode 79.- See Also:
-
LASTORE
Java VM opcode 80.- See Also:
-
FASTORE
Java VM opcode 81.- See Also:
-
DASTORE
Java VM opcode 82.- See Also:
-
AASTORE
Java VM opcode 83.- See Also:
-
BASTORE
Java VM opcode 84.- See Also:
-
CASTORE
Java VM opcode 85.- See Also:
-
SASTORE
Java VM opcode 86.- See Also:
-
POP
Java VM opcode 87.- See Also:
-
POP2
Java VM opcode 88.- See Also:
-
DUP
Java VM opcode 89.- See Also:
-
DUP_X1
Java VM opcode 90.- See Also:
-
DUP_X2
Java VM opcode 91.- See Also:
-
DUP2
Java VM opcode 92.- See Also:
-
DUP2_X1
Java VM opcode 93.- See Also:
-
DUP2_X2
Java VM opcode 94.- See Also:
-
SWAP
Java VM opcode 95.- See Also:
-
IADD
Java VM opcode 96.- See Also:
-
LADD
Java VM opcode 97.- See Also:
-
FADD
Java VM opcode 98.- See Also:
-
DADD
Java VM opcode 99.- See Also:
-
ISUB
Java VM opcode 100.- See Also:
-
LSUB
Java VM opcode 101.- See Also:
-
FSUB
Java VM opcode 102.- See Also:
-
DSUB
Java VM opcode 103.- See Also:
-
IMUL
Java VM opcode 104.- See Also:
-
LMUL
Java VM opcode 105.- See Also:
-
FMUL
Java VM opcode 106.- See Also:
-
DMUL
Java VM opcode 107.- See Also:
-
IDIV
Java VM opcode 108.- See Also:
-
LDIV
Java VM opcode 109.- See Also:
-
FDIV
Java VM opcode 110.- See Also:
-
DDIV
Java VM opcode 111.- See Also:
-
IREM
Java VM opcode 112.- See Also:
-
LREM
Java VM opcode 113.- See Also:
-
FREM
Java VM opcode 114.- See Also:
-
DREM
Java VM opcode 115.- See Also:
-
INEG
Java VM opcode 116.- See Also:
-
LNEG
Java VM opcode 117.- See Also:
-
FNEG
Java VM opcode 118.- See Also:
-
DNEG
Java VM opcode 119.- See Also:
-
ISHL
Java VM opcode 120.- See Also:
-
LSHL
Java VM opcode 121.- See Also:
-
ISHR
Java VM opcode 122.- See Also:
-
LSHR
Java VM opcode 123.- See Also:
-
IUSHR
Java VM opcode 124.- See Also:
-
LUSHR
Java VM opcode 125.- See Also:
-
IAND
Java VM opcode 126.- See Also:
-
LAND
Java VM opcode 127.- See Also:
-
IOR
Java VM opcode 128.- See Also:
-
LOR
Java VM opcode 129.- See Also:
-
IXOR
Java VM opcode 130.- See Also:
-
LXOR
Java VM opcode 131.- See Also:
-
IINC
Java VM opcode 132.- See Also:
-
I2L
Java VM opcode 133.- See Also:
-
I2F
Java VM opcode 134.- See Also:
-
I2D
Java VM opcode 135.- See Also:
-
L2I
Java VM opcode 136.- See Also:
-
L2F
Java VM opcode 137.- See Also:
-
L2D
Java VM opcode 138.- See Also:
-
F2I
Java VM opcode 139.- See Also:
-
F2L
Java VM opcode 140.- See Also:
-
F2D
Java VM opcode 141.- See Also:
-
D2I
Java VM opcode 142.- See Also:
-
D2L
Java VM opcode 143.- See Also:
-
D2F
Java VM opcode 144.- See Also:
-
I2B
Java VM opcode 145.- See Also:
-
INT2BYTE
Java VM opcode 145.- See Also:
-
I2C
Java VM opcode 146.- See Also:
-
INT2CHAR
Java VM opcode 146.- See Also:
-
I2S
Java VM opcode 147.- See Also:
-
INT2SHORT
Java VM opcode 147.- See Also:
-
LCMP
Java VM opcode 148.- See Also:
-
FCMPL
Java VM opcode 149.- See Also:
-
FCMPG
Java VM opcode 150.- See Also:
-
DCMPL
Java VM opcode 151.- See Also:
-
DCMPG
Java VM opcode 152.- See Also:
-
IFEQ
Java VM opcode 153.- See Also:
-
IFNE
Java VM opcode 154.- See Also:
-
IFLT
Java VM opcode 155.- See Also:
-
IFGE
Java VM opcode 156.- See Also:
-
IFGT
Java VM opcode 157.- See Also:
-
IFLE
Java VM opcode 158.- See Also:
-
IF_ICMPEQ
Java VM opcode 159.- See Also:
-
IF_ICMPNE
Java VM opcode 160.- See Also:
-
IF_ICMPLT
Java VM opcode 161.- See Also:
-
IF_ICMPGE
Java VM opcode 162.- See Also:
-
IF_ICMPGT
Java VM opcode 163.- See Also:
-
IF_ICMPLE
Java VM opcode 164.- See Also:
-
IF_ACMPEQ
Java VM opcode 165.- See Also:
-
IF_ACMPNE
Java VM opcode 166.- See Also:
-
GOTO
Java VM opcode 167.- See Also:
-
JSR
Java VM opcode 168.- See Also:
-
RET
Java VM opcode 169.- See Also:
-
TABLESWITCH
Java VM opcode 170.- See Also:
-
LOOKUPSWITCH
Java VM opcode 171.- See Also:
-
IRETURN
Java VM opcode 172.- See Also:
-
LRETURN
Java VM opcode 173.- See Also:
-
FRETURN
Java VM opcode 174.- See Also:
-
DRETURN
Java VM opcode 175.- See Also:
-
ARETURN
Java VM opcode 176.- See Also:
-
RETURN
Java VM opcode 177.- See Also:
-
GETSTATIC
Java VM opcode 178.- See Also:
-
PUTSTATIC
Java VM opcode 179.- See Also:
-
GETFIELD
Java VM opcode 180.- See Also:
-
PUTFIELD
Java VM opcode 181.- See Also:
-
INVOKEVIRTUAL
Java VM opcode 182.- See Also:
-
INVOKESPECIAL
Java VM opcode 183.- See Also:
-
INVOKENONVIRTUAL
Java VM opcode 183.- See Also:
-
INVOKESTATIC
Java VM opcode 184.- See Also:
-
INVOKEINTERFACE
Java VM opcode 185.- See Also:
-
INVOKEDYNAMIC
Java VM opcode 186.- See Also:
-
NEW
Java VM opcode 187.- See Also:
-
NEWARRAY
Java VM opcode 188.- See Also:
-
ANEWARRAY
Java VM opcode 189.- See Also:
-
ARRAYLENGTH
Java VM opcode 190.- See Also:
-
ATHROW
Java VM opcode 191.- See Also:
-
CHECKCAST
Java VM opcode 192.- See Also:
-
INSTANCEOF
Java VM opcode 193.- See Also:
-
MONITORENTER
Java VM opcode 194.- See Also:
-
MONITOREXIT
Java VM opcode 195.- See Also:
-
WIDE
Java VM opcode 196.- See Also:
-
MULTIANEWARRAY
Java VM opcode 197.- See Also:
-
IFNULL
Java VM opcode 198.- See Also:
-
IFNONNULL
Java VM opcode 199.- See Also:
-
GOTO_W
Java VM opcode 200.- See Also:
-
JSR_W
Java VM opcode 201.- See Also:
-
BREAKPOINT
JVM internal opcode 202.- See Also:
-
LDC_QUICK
JVM internal opcode 203.- See Also:
-
LDC_W_QUICK
JVM internal opcode 204.- See Also:
-
LDC2_W_QUICK
JVM internal opcode 205.- See Also:
-
GETFIELD_QUICK
JVM internal opcode 206.- See Also:
-
PUTFIELD_QUICK
JVM internal opcode 207.- See Also:
-
GETFIELD2_QUICK
JVM internal opcode 208.- See Also:
-
PUTFIELD2_QUICK
JVM internal opcode 209.- See Also:
-
GETSTATIC_QUICK
JVM internal opcode 210.- See Also:
-
PUTSTATIC_QUICK
JVM internal opcode 211.- See Also:
-
GETSTATIC2_QUICK
JVM internal opcode 212.- See Also:
-
PUTSTATIC2_QUICK
JVM internal opcode 213.- See Also:
-
INVOKEVIRTUAL_QUICK
JVM internal opcode 214.- See Also:
-
INVOKENONVIRTUAL_QUICK
JVM internal opcode 215.- See Also:
-
INVOKESUPER_QUICK
JVM internal opcode 216.- See Also:
-
INVOKESTATIC_QUICK
JVM internal opcode 217.- See Also:
-
INVOKEINTERFACE_QUICK
JVM internal opcode 218.- See Also:
-
INVOKEVIRTUALOBJECT_QUICK
JVM internal opcode 219.- See Also:
-
NEW_QUICK
JVM internal opcode 221.- See Also:
-
ANEWARRAY_QUICK
JVM internal opcode 222.- See Also:
-
MULTIANEWARRAY_QUICK
JVM internal opcode 223.- See Also:
-
CHECKCAST_QUICK
JVM internal opcode 224.- See Also:
-
INSTANCEOF_QUICK
JVM internal opcode 225.- See Also:
-
INVOKEVIRTUAL_QUICK_W
JVM internal opcode 226.- See Also:
-
GETFIELD_QUICK_W
JVM internal opcode 227.- See Also:
-
PUTFIELD_QUICK_W
JVM internal opcode 228.- See Also:
-
IMPDEP1
JVM internal opcode 254.- See Also:
-
IMPDEP2
JVM internal opcode 255.- See Also:
-
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.- See Also:
-
T_CHAR
Char data type: 0x5.- See Also:
-
T_FLOAT
Float data type: 0x6.- See Also:
-
T_DOUBLE
Double data type: 0x7.- See Also:
-
T_BYTE
Byte data type: 0x8.- See Also:
-
T_SHORT
Short data type: 0x9.- See Also:
-
T_INT
Int data type: 0xa.- See Also:
-
T_LONG
Long data type: 0xb.- See Also:
-
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.