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.classfilePREVIEW 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_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_Dynamic_infoconstant 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 aConstantValuePREVIEW attribute; this includes the four primitive constant types and String constants.Preview.Models aCONSTANT_Double_infoconstant in the constant pool of a classfile.Preview.Models a dynamic constant pool entry, which is eitherConstantDynamicEntryPREVIEW orInvokeDynamicEntryPREVIEW.Preview.Models aCONSTANT_Fieldref_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_Float_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_Integer_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_InterfaceMethodRef_infoconstant 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 theLDCinstructions.Preview.Models aCONSTANT_Long_infoconstant 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_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_MethodRef_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_MethodType_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_Module_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_NameAndType_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_Package_infoconstant in the constant pool of a classfile.Preview.Models an entry in the constant pool of a classfile.Preview.Models aCONSTANT_String_infoconstant in the constant pool of a classfile.Preview.Models aCONSTANT_UTF8_infoconstant in the constant pool of a classfile.
java.lang.classfile.constantpoolwhen preview features are enabled.