| Modifier and Type | Field and Description |
|---|---|
| public static final short | ACC_ABSTRACT
One of the access flags for fields, methods, or classes. |
| public static final short | ACC_ANNOTATION
One of the access flags for fields, methods, or classes. |
| public static final short | ACC_FINAL
One of the access flags for fields, methods, or classes. |
| public static final short | ACC_INTERFACE
One of the access flags for fields, methods, or classes. |
| public static final byte | CONSTANT_Class
Marks a constant pool entry as a Class |
| public static final byte | CONSTANT_Double
Marks a constant pool entry as type Double. |
| public static final byte | CONSTANT_Dynamic
Marks a constant pool entry as dynamically computed. |
| public static final byte | CONSTANT_Fieldref
Marks a constant pool entry as a Field Reference. |
| public static final byte | CONSTANT_Float
Marks a constant pool entry as type Float. |
| public static final byte | CONSTANT_Integer
Marks a constant pool entry as type Integer. |
| public static final byte | CONSTANT_InterfaceMethodref
Marks a constant pool entry as an Interface Method Reference. |
| public static final byte | CONSTANT_InvokeDynamic
Marks a constant pool entry as an Invoke Dynamic |
| public static final byte | CONSTANT_Long
Marks a constant pool entry as type Long. |
| public static final byte | CONSTANT_MethodHandle
Marks a constant pool entry as a Method Handle. |
| public static final byte | CONSTANT_Methodref
Marks a constant pool entry as a Method Reference. |
| public static final byte | CONSTANT_MethodType
Marks a constant pool entry as a Method Type. |
| public static final byte | CONSTANT_Module
Marks a constant pool entry as a Module Reference. |
| public static final byte | CONSTANT_NameAndType
Marks a constant pool entry as a name and type. |
| private static final String[] | CONSTANT_NAMES
The names of the types of entries in a constant pool. |
| public static final byte | CONSTANT_Package
Marks a constant pool entry as a Package Reference. |
| public static final byte | CONSTANT_String
Marks a constant pool entry as type String |
| public static final byte | CONSTANT_Utf8
Marks a constant pool entry as type UTF-8. |
| public static final int | JVM_CLASSFILE_MAGIC
Java class file format Magic number (0xCAFEBABE) |
| public static final int | MAX_ARRAY_DIMENSIONS
The maximum number of dimensions in an array (255). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: the CONSTANT_NAMES entry at the given indexThe index for which the constant name is required index)Get the CONSTANT_NAMES entry at the given index. |
| ACC_ABSTRACT | back to summary |
|---|---|
| public static final short ACC_ABSTRACT One of the access flags for fields, methods, or classes.
| |
| ACC_ANNOTATION | back to summary |
|---|---|
| public static final short ACC_ANNOTATION One of the access flags for fields, methods, or classes.
| |
| ACC_FINAL | back to summary |
|---|---|
| public static final short ACC_FINAL One of the access flags for fields, methods, or classes.
| |
| ACC_INTERFACE | back to summary |
|---|---|
| public static final short ACC_INTERFACE One of the access flags for fields, methods, or classes.
| |
| CONSTANT_Class | back to summary |
|---|---|
| public static final byte CONSTANT_Class Marks a constant pool entry as a Class | |
| CONSTANT_Double | back to summary |
|---|---|
| public static final byte CONSTANT_Double Marks a constant pool entry as type Double. | |
| CONSTANT_Dynamic | back to summary |
|---|---|
| public static final byte CONSTANT_Dynamic Marks a constant pool entry as dynamically computed.
| |
| CONSTANT_Fieldref | back to summary |
|---|---|
| public static final byte CONSTANT_Fieldref Marks a constant pool entry as a Field Reference. | |
| CONSTANT_Float | back to summary |
|---|---|
| public static final byte CONSTANT_Float Marks a constant pool entry as type Float. | |
| CONSTANT_Integer | back to summary |
|---|---|
| public static final byte CONSTANT_Integer Marks a constant pool entry as type Integer. | |
| CONSTANT_InterfaceMethodref | back to summary |
|---|---|
| public static final byte CONSTANT_InterfaceMethodref Marks a constant pool entry as an Interface Method Reference. | |
| CONSTANT_InvokeDynamic | back to summary |
|---|---|
| public static final byte CONSTANT_InvokeDynamic Marks a constant pool entry as an Invoke Dynamic | |
| CONSTANT_Long | back to summary |
|---|---|
| public static final byte CONSTANT_Long Marks a constant pool entry as type Long. | |
| CONSTANT_MethodHandle | back to summary |
|---|---|
| public static final byte CONSTANT_MethodHandle Marks a constant pool entry as a Method Handle. | |
| CONSTANT_Methodref | back to summary |
|---|---|
| public static final byte CONSTANT_Methodref Marks a constant pool entry as a Method Reference. | |
| CONSTANT_MethodType | back to summary |
|---|---|
| public static final byte CONSTANT_MethodType Marks a constant pool entry as a Method Type. | |
| CONSTANT_Module | back to summary |
|---|---|
| public static final byte CONSTANT_Module Marks a constant pool entry as a Module Reference. | |
| CONSTANT_NameAndType | back to summary |
|---|---|
| public static final byte CONSTANT_NameAndType Marks a constant pool entry as a name and type. | |
| CONSTANT_NAMES | back to summary |
|---|---|
| private static final String[] CONSTANT_NAMES The names of the types of entries in a constant pool. Use getConstantName instead | |
| CONSTANT_Package | back to summary |
|---|---|
| public static final byte CONSTANT_Package Marks a constant pool entry as a Package Reference. | |
| CONSTANT_String | back to summary |
|---|---|
| public static final byte CONSTANT_String Marks a constant pool entry as type String | |
| CONSTANT_Utf8 | back to summary |
|---|---|
| public static final byte CONSTANT_Utf8 Marks a constant pool entry as type UTF-8. | |
| JVM_CLASSFILE_MAGIC | back to summary |
|---|---|
| public static final int JVM_CLASSFILE_MAGIC Java class file format Magic number (0xCAFEBABE) | |
| MAX_ARRAY_DIMENSIONS | back to summary |
|---|---|
| public static final int MAX_ARRAY_DIMENSIONS The maximum number of dimensions in an array (255). One of the limitations of the Java Virtual Machine. | |
| Const | back to summary |
|---|---|
| public Const() | |
| getConstantName | back to summary |
|---|---|
| public static String getConstantName(final int index) Get the CONSTANT_NAMES entry at the given index.
| |