Package java.lang.classfile.constantpool
package java.lang.classfile.constantpool
java.lang.classfile.constantpool
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Provides interfaces describing classfile constant pool entries for the java.lang.classfile
PREVIEW library.
The java.lang.classfile.constantpool
package contains interfaces describing classfile constant pool entries.- Since:
- 22
-
ClassDescriptionPreview.A constant pool entry that may be used by annotation constant values, which includes the four kinds of primitive constants and UTF8 constants.Preview.Models a
CONSTANT_Class_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_Dynamic_info
constant in the constant pool of a classfile.Preview.Provides read access to the constant pool and bootstrap method table of a classfile.Preview.Builder for the constant pool of a classfile.Preview.Thrown to indicate that requested entry cannot be obtained from the constant pool.Preview.Models a constant pool entry that can be used as the constant in aConstantValue
PREVIEW attribute; this includes the four primitive constant types and String constants.Preview.Models aCONSTANT_Double_info
constant in the constant pool of a classfile.Preview.Models a dynamic constant pool entry, which is eitherConstantDynamicEntry
PREVIEW orInvokeDynamicEntry
PREVIEW.Preview.Models aCONSTANT_Fieldref_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_Float_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_Integer_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_InterfaceMethodRef_info
constant in the constant pool of a classfile.Preview.Models a constant pool entry for a dynamic call site.Preview.Marker interface for constant pool entries suitable for loading via theLDC
instructions.Preview.Models aCONSTANT_Long_info
constant in the constant pool of a classfile.Preview.Models a member reference constant in the constant pool of a classfile, which includes references to fields, methods, and interface methods.Preview.Models aCONSTANT_MethodHandle_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_MethodRef_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_MethodType_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_Module_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_NameAndType_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_Package_info
constant in the constant pool of a classfile.Preview.Models an entry in the constant pool of a classfile.Preview.Models aCONSTANT_String_info
constant in the constant pool of a classfile.Preview.Models aCONSTANT_UTF8_info
constant in the constant pool of a classfile.
java.lang.classfile.constantpool
when preview features are enabled.