Package org.apache.tomcat.util.bcel
Class Const
- java.lang.Object
-
- org.apache.tomcat.util.bcel.Const
-
public final class Const extends Object
Constants for the project, mostly defined in the JVM specification.
-
-
Field Summary
Fields 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.
-
Constructor Summary
Constructors Constructor Description Const()
-
-
-
Field Detail
-
ACC_FINAL
public 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_INTERFACE
public static final short ACC_INTERFACE
One of the access flags for fields, methods, or classes.- See Also:
- Constant Field Values
-
ACC_ABSTRACT
public static final short ACC_ABSTRACT
One of the access flags for fields, methods, or classes.- See Also:
- Constant Field Values
-
ACC_ANNOTATION
public static final short ACC_ANNOTATION
One of the access flags for fields, methods, or classes.- See Also:
- Constant Field Values
-
CONSTANT_Utf8
public static final byte CONSTANT_Utf8
Marks a constant pool entry as type UTF-8.
-
CONSTANT_Integer
public static final byte CONSTANT_Integer
Marks a constant pool entry as type Integer.
-
CONSTANT_Float
public static final byte CONSTANT_Float
Marks a constant pool entry as type Float.
-
CONSTANT_Long
public static final byte CONSTANT_Long
Marks a constant pool entry as type Long.
-
CONSTANT_Double
public static final byte CONSTANT_Double
Marks a constant pool entry as type Double.
-
CONSTANT_Class
public static final byte CONSTANT_Class
Marks a constant pool entry as a Class
-
CONSTANT_String
public static final byte CONSTANT_String
Marks a constant pool entry as type String
-
CONSTANT_Fieldref
public static final byte CONSTANT_Fieldref
Marks a constant pool entry as a Field Reference.
-
CONSTANT_Methodref
public static final byte CONSTANT_Methodref
Marks a constant pool entry as a Method Reference.
-
CONSTANT_InterfaceMethodref
public static final byte CONSTANT_InterfaceMethodref
Marks a constant pool entry as an Interface Method Reference.
-
CONSTANT_NameAndType
public static final byte CONSTANT_NameAndType
Marks a constant pool entry as a name and type.
-
CONSTANT_MethodHandle
public static final byte CONSTANT_MethodHandle
Marks a constant pool entry as a Method Handle.
-
CONSTANT_MethodType
public static final byte CONSTANT_MethodType
Marks a constant pool entry as a Method Type.
-
CONSTANT_Dynamic
public static final byte CONSTANT_Dynamic
Marks a constant pool entry as dynamically computed.- See Also:
- Change request for JEP 309, Constant Field Values
-
CONSTANT_InvokeDynamic
public static final byte CONSTANT_InvokeDynamic
Marks a constant pool entry as an Invoke Dynamic
-
CONSTANT_Module
public static final byte CONSTANT_Module
Marks a constant pool entry as a Module Reference.Note: Early access Java 9 support- currently subject to change
-
CONSTANT_Package
public static final byte CONSTANT_Package
Marks a constant pool entry as a Package Reference.Note: Early access Java 9 support- currently subject to change
-
-
Method Detail
-
getConstantName
public static String getConstantName(int index)
-
-