Package org.apache.tomcat.util.bcel
Class Const
- java.lang.Object
-
- org.apache.tomcat.util.bcel.Const
-
public final class Const extends java.lang.Object
Constants for the project, mostly defined in the JVM specification.
-
-
Field Summary
Fields Modifier and Type Field 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 Classstatic 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 Dynamicstatic 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 Stringstatic byte
CONSTANT_Utf8
Marks a constant pool entry as type UTF-8.
-
Constructor Summary
Constructors Constructor Description Const()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getConstantName(int index)
-
-
-
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
-
-