public final class Const
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static short |
ACC_ABSTRACT
One of the access flags for fields, methods, or classes.
|
static short |
ACC_ANNOTATION
One of the access flags for fields, methods, or classes.
|
static short |
ACC_FINAL
One of the access flags for fields, methods, or classes.
|
static short |
ACC_INTERFACE
One of the access flags for fields, methods, or classes.
|
static byte |
CONSTANT_Class
Marks a constant pool entry as a Class
|
static byte |
CONSTANT_Double
Marks a constant pool entry as type Double.
|
static byte |
CONSTANT_Dynamic
Marks a constant pool entry as dynamically computed.
|
static byte |
CONSTANT_Fieldref
Marks a constant pool entry as a Field Reference.
|
static byte |
CONSTANT_Float
Marks a constant pool entry as type Float.
|
static byte |
CONSTANT_Integer
Marks a constant pool entry as type Integer.
|
static byte |
CONSTANT_InterfaceMethodref
Marks a constant pool entry as an Interface Method Reference.
|
static byte |
CONSTANT_InvokeDynamic
Marks a constant pool entry as an Invoke Dynamic
|
static byte |
CONSTANT_Long
Marks a constant pool entry as type Long.
|
static byte |
CONSTANT_MethodHandle
Marks a constant pool entry as a Method Handle.
|
static byte |
CONSTANT_Methodref
Marks a constant pool entry as a Method Reference.
|
static byte |
CONSTANT_MethodType
Marks a constant pool entry as a Method Type.
|
static byte |
CONSTANT_Module
Marks a constant pool entry as a Module Reference.
|
static byte |
CONSTANT_NameAndType
Marks a constant pool entry as a name and type.
|
static byte |
CONSTANT_Package
Marks a constant pool entry as a Package Reference.
|
static byte |
CONSTANT_String
Marks a constant pool entry as type String
|
static byte |
CONSTANT_Utf8
Marks a constant pool entry as type UTF-8.
|
static int |
JVM_CLASSFILE_MAGIC
Java class file format Magic number (0xCAFEBABE)
|
static int |
MAX_ARRAY_DIMENSIONS
The maximum number of dimensions in an array (255).
|
| Constructor and Description |
|---|
Const() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getConstantName(int index)
Get the CONSTANT_NAMES entry at the given index.
|
public static final int JVM_CLASSFILE_MAGIC
public static final short ACC_FINAL
public static final short ACC_INTERFACE
ACC_FINAL,
Constant Field Valuespublic static final short ACC_ABSTRACT
ACC_FINAL,
Constant Field Valuespublic static final short ACC_ANNOTATION
ACC_FINAL,
Constant Field Valuespublic static final byte CONSTANT_Utf8
public static final byte CONSTANT_Integer
public static final byte CONSTANT_Float
public static final byte CONSTANT_Long
public static final byte CONSTANT_Double
public static final byte CONSTANT_Class
public static final byte CONSTANT_Fieldref
public static final byte CONSTANT_String
public static final byte CONSTANT_Methodref
public static final byte CONSTANT_InterfaceMethodref
public static final byte CONSTANT_NameAndType
public static final byte CONSTANT_MethodHandle
public static final byte CONSTANT_MethodType
public static final byte CONSTANT_Dynamic
public static final byte CONSTANT_InvokeDynamic
public static final byte CONSTANT_Module
public static final byte CONSTANT_Package
public static final int MAX_ARRAY_DIMENSIONS
Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.