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