Package org.apache.tomcat.util.bcel
Class Const
- java.lang.Object
- 
- org.apache.tomcat.util.bcel.Const
 
- 
 public final class Const extends java.lang.ObjectConstants for the project, mostly defined in the JVM specification.
- 
- 
Field SummaryFields Modifier and Type Field Description static shortACC_ABSTRACTOne of the access flags for fields, methods, or classes.static shortACC_ANNOTATIONOne of the access flags for fields, methods, or classes.static shortACC_FINALOne of the access flags for fields, methods, or classes.static shortACC_INTERFACEOne of the access flags for fields, methods, or classes.static byteCONSTANT_ClassMarks a constant pool entry as a Classstatic byteCONSTANT_DoubleMarks a constant pool entry as type Double.static byteCONSTANT_DynamicMarks a constant pool entry as dynamically computed.static byteCONSTANT_FieldrefMarks a constant pool entry as a Field Reference.static byteCONSTANT_FloatMarks a constant pool entry as type Float.static byteCONSTANT_IntegerMarks a constant pool entry as type Integer.static byteCONSTANT_InterfaceMethodrefMarks a constant pool entry as an Interface Method Reference.static byteCONSTANT_InvokeDynamicMarks a constant pool entry as an Invoke Dynamicstatic byteCONSTANT_LongMarks a constant pool entry as type Long.static byteCONSTANT_MethodHandleMarks a constant pool entry as a Method Handle.static byteCONSTANT_MethodrefMarks a constant pool entry as a Method Reference.static byteCONSTANT_MethodTypeMarks a constant pool entry as a Method Type.static byteCONSTANT_ModuleMarks a constant pool entry as a Module Reference.static byteCONSTANT_NameAndTypeMarks a constant pool entry as a name and type.static byteCONSTANT_PackageMarks a constant pool entry as a Package Reference.static byteCONSTANT_StringMarks a constant pool entry as type Stringstatic byteCONSTANT_Utf8Marks a constant pool entry as type UTF-8.static intJVM_CLASSFILE_MAGICJava class file format Magic number (0xCAFEBABE)static intMAX_ARRAY_DIMENSIONSThe maximum number of dimensions in an array (255).
 - 
Constructor SummaryConstructors Constructor Description Const()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetConstantName(int index)Get the CONSTANT_NAMES entry at the given index.
 
- 
- 
- 
Field Detail- 
JVM_CLASSFILE_MAGICpublic static final int JVM_CLASSFILE_MAGIC Java class file format Magic number (0xCAFEBABE)
 - 
ACC_FINALpublic static final short ACC_FINAL One of the access flags for fields, methods, or classes.- See Also:
- Flag definitions for Classes in the Java Virtual Machine Specification (Java SE 9 Edition)., Flag definitions for Fields in the Java Virtual Machine Specification (Java SE 9 Edition)., Flag definitions for Methods in the Java Virtual Machine Specification (Java SE 9 Edition)., Flag definitions for Inner Classes in the Java Virtual Machine Specification (Java SE 9 Edition)., Constant Field Values
 
 - 
ACC_INTERFACEpublic static final short ACC_INTERFACE One of the access flags for fields, methods, or classes.- See Also:
- ACC_FINAL, Constant Field Values
 
 - 
ACC_ABSTRACTpublic static final short ACC_ABSTRACT One of the access flags for fields, methods, or classes.- See Also:
- ACC_FINAL, Constant Field Values
 
 - 
ACC_ANNOTATIONpublic static final short ACC_ANNOTATION One of the access flags for fields, methods, or classes.- See Also:
- ACC_FINAL, Constant Field Values
 
 - 
CONSTANT_Utf8public static final byte CONSTANT_Utf8 Marks a constant pool entry as type UTF-8.
 - 
CONSTANT_Integerpublic static final byte CONSTANT_Integer Marks a constant pool entry as type Integer.
 - 
CONSTANT_Floatpublic static final byte CONSTANT_Float Marks a constant pool entry as type Float.
 - 
CONSTANT_Longpublic static final byte CONSTANT_Long Marks a constant pool entry as type Long.
 - 
CONSTANT_Doublepublic static final byte CONSTANT_Double Marks a constant pool entry as type Double.
 - 
CONSTANT_Classpublic static final byte CONSTANT_Class Marks a constant pool entry as a Class
 - 
CONSTANT_Fieldrefpublic static final byte CONSTANT_Fieldref Marks a constant pool entry as a Field Reference.
 - 
CONSTANT_Stringpublic static final byte CONSTANT_String Marks a constant pool entry as type String
 - 
CONSTANT_Methodrefpublic static final byte CONSTANT_Methodref Marks a constant pool entry as a Method Reference.
 - 
CONSTANT_InterfaceMethodrefpublic static final byte CONSTANT_InterfaceMethodref Marks a constant pool entry as an Interface Method Reference.
 - 
CONSTANT_NameAndTypepublic static final byte CONSTANT_NameAndType Marks a constant pool entry as a name and type.
 - 
CONSTANT_MethodHandlepublic static final byte CONSTANT_MethodHandle Marks a constant pool entry as a Method Handle.
 - 
CONSTANT_MethodTypepublic static final byte CONSTANT_MethodType Marks a constant pool entry as a Method Type.
 - 
CONSTANT_Dynamicpublic static final byte CONSTANT_Dynamic Marks a constant pool entry as dynamically computed.- See Also:
- Change request for JEP 309, Constant Field Values
 
 - 
CONSTANT_InvokeDynamicpublic static final byte CONSTANT_InvokeDynamic Marks a constant pool entry as an Invoke Dynamic
 - 
CONSTANT_Modulepublic static final byte CONSTANT_Module Marks a constant pool entry as a Module Reference.
 - 
CONSTANT_Packagepublic static final byte CONSTANT_Package Marks a constant pool entry as a Package Reference.
 - 
MAX_ARRAY_DIMENSIONSpublic static final int MAX_ARRAY_DIMENSIONS The maximum number of dimensions in an array (255). One of the limitations of the Java Virtual Machine.
 
- 
 
-