Uses of Interface
java.lang.classfile.constantpool.PoolEntry
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
PREVIEW library.-
Uses of PoolEntryPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionReturns the constant pool entry of a given type whose index is given at the specified offset within the classfile.ClassReader.readEntryOrNull
(int offset, Class<T> cls) Returns the constant pool entry of a given type whose index is given at the specified offset within the classfile, or null if the index at the specified offset is zero.Modifier and TypeMethodDescriptionClassReader.readEntry
(int offset) Returns the constant pool entry whose index is given at the specified offset within the classfile.ClassReader.readEntryOrNull
(int offset) Returns the constant pool entry whose index is given at the specified offset within the classfile, or null if the index at the specified offset is zero.Modifier and TypeMethodDescriptionvoid
BufWriter.writeIndex
(PoolEntryPREVIEW entry) Write the index of the specified constant pool entry, as au2
, to the buffervoid
BufWriter.writeIndexOrZero
(PoolEntryPREVIEW entry) Write the index of the specified constant pool entry, as au2
, to the buffer, or zero if the entry is null -
Uses of PoolEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.A constant pool entry that may be used by annotation constant values, which includes the four kinds of primitive constants and UTF8 constants.interface
Preview.Models aCONSTANT_Class_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_Dynamic_info
constant in the constant pool of a classfile.interface
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.interface
Preview.Models aCONSTANT_Double_info
constant in the constant pool of a classfile.interface
Preview.Models a dynamic constant pool entry, which is eitherConstantDynamicEntry
PREVIEW orInvokeDynamicEntry
PREVIEW.interface
Preview.Models aCONSTANT_Fieldref_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_Float_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_Integer_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_InterfaceMethodRef_info
constant in the constant pool of a classfile.interface
Preview.Models a constant pool entry for a dynamic call site.interface
Preview.Marker interface for constant pool entries suitable for loading via theLDC
instructions.interface
Preview.Models aCONSTANT_Long_info
constant in the constant pool of a classfile.interface
Preview.Models a member reference constant in the constant pool of a classfile, which includes references to fields, methods, and interface methods.interface
Preview.Models aCONSTANT_MethodHandle_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_MethodRef_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_MethodType_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_Module_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_NameAndType_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_Package_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_String_info
constant in the constant pool of a classfile.interface
Preview.Models aCONSTANT_UTF8_info
constant in the constant pool of a classfile.Modifier and TypeInterfaceDescriptioninterface
Preview.Provides read access to the constant pool and bootstrap method table of a classfile.Modifier and TypeMethodDescriptionConstantPool.entryByIndex
(int index, Class<T> cls) Returns the entry of a given type at the specified index.Modifier and TypeMethodDescriptionConstantPool.entryByIndex
(int index) Returns the entry at the specified index.