Module java.base

# Package java.lang.classfile.constantpool

package java.lang.classfile.constantpool
`java.lang.classfile.constantpool` is a preview API of the Java platform.
Programs can only use `java.lang.classfile.constantpool` when preview features are enabled.
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

- Related Packages
  Package
  Description
  java.lang.classfilePREVIEW
  Preview.
  Provides classfile parsing, generation, and transformation library.
  java.lang.classfile.attributePREVIEW
  Preview.
  Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.
  java.lang.classfile.componentsPREVIEW
  Preview.
  Provides specific components, transformations, and tools built on top of the `java.lang.classfile`PREVIEW library.
  java.lang.classfile.instructionPREVIEW
  Preview.
  Provides interfaces describing code instructions for the `java.lang.classfile`PREVIEW library.
- Class
  Description
  AnnotationConstantValueEntryPREVIEW
  Preview.
  A constant pool entry that may be used as an annotation constant, which includes the four kinds of primitive constants, and UTF8 constants.
  ClassEntryPREVIEW
  Preview.
  Models a `CONSTANT_Class_info` constant in the constant pool of a classfile.
  ConstantDynamicEntryPREVIEW
  Preview.
  Models a `CONSTANT_Dynamic_info` constant in the constant pool of a classfile.
  ConstantPoolPREVIEW
  Preview.
  Provides read access to the constant pool and bootstrap method table of a classfile.
  ConstantPoolBuilderPREVIEW
  Preview.
  Builder for the constant pool of a classfile.
  ConstantPoolExceptionPREVIEW
  Preview.
  Thrown to indicate that requested entry cannot be obtained from the constant pool.
  ConstantValueEntryPREVIEW
  Preview.
  Models a constant pool entry that can be used as the constant in a `ConstantValue` attribute; this includes the four primitive constant types and String constants.
  DoubleEntryPREVIEW
  Preview.
  Models a `CONSTANT_Double_info` constant in the constant pool of a classfile.
  DynamicConstantPoolEntryPREVIEW
  Preview.
  Models a dynamic constant pool entry, which is either `ConstantDynamicEntry`PREVIEW or `InvokeDynamicEntry`PREVIEW.
  FieldRefEntryPREVIEW
  Preview.
  Models a `CONSTANT_Fieldref_info` constant in the constant pool of a classfile.
  FloatEntryPREVIEW
  Preview.
  Models a `CONSTANT_Float_info` constant in the constant pool of a classfile.
  IntegerEntryPREVIEW
  Preview.
  Models a `CONSTANT_Integer_info` constant in the constant pool of a classfile.
  InterfaceMethodRefEntryPREVIEW
  Preview.
  Models a `CONSTANT_InterfaceMethodRef_info` constant in the constant pool of a classfile.
  InvokeDynamicEntryPREVIEW
  Preview.
  Models a constant pool entry for a dynamic call site.
  LoadableConstantEntryPREVIEW
  Preview.
  Marker interface for constant pool entries suitable for loading via the `LDC` instructions.
  LongEntryPREVIEW
  Preview.
  Models a `CONSTANT_Long_info` constant in the constant pool of a classfile.
  MemberRefEntryPREVIEW
  Preview.
  Models a member reference constant in the constant pool of a classfile, which includes references to fields, methods, and interface methods.
  MethodHandleEntryPREVIEW
  Preview.
  Models a `CONSTANT_MethodHandle_info` constant in the constant pool of a classfile.
  MethodRefEntryPREVIEW
  Preview.
  Models a `CONSTANT_MethodRef_info` constant in the constant pool of a classfile.
  MethodTypeEntryPREVIEW
  Preview.
  Models a `CONSTANT_MethodType_info` constant in the constant pool of a classfile.
  ModuleEntryPREVIEW
  Preview.
  Models a `CONSTANT_Module_info` constant in the constant pool of a classfile.
  NameAndTypeEntryPREVIEW
  Preview.
  Models a `CONSTANT_NameAndType_info` constant in the constant pool of a classfile.
  PackageEntryPREVIEW
  Preview.
  Models a `CONSTANT_Package_info` constant in the constant pool of a classfile.
  PoolEntryPREVIEW
  Preview.
  Models an entry in the constant pool of a classfile.
  StringEntryPREVIEW
  Preview.
  Models a `CONSTANT_String_info` constant in the constant pool of a classfile.
  Utf8EntryPREVIEW
  Preview.
  Models a `CONSTANT_UTF8_info` constant in the constant pool of a classfile.