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