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 TypeMethodDescriptionvoidBufWriter.writeIndex(PoolEntry entry) Write the index of the specified constant pool entry, as au2, to the buffervoidBufWriter.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 TypeInterfaceDescriptioninterfaceA constant pool entry that may be used by annotation constant values, which includes the four kinds of primitive constants and UTF8 constants.interfaceModels aCONSTANT_Class_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_Dynamic_infoconstant in the constant pool of a classfile.interfaceModels a constant pool entry that can be used as the constant in aConstantValueattribute; this includes the four primitive constant types and String constants.interfaceModels aCONSTANT_Double_infoconstant in the constant pool of a classfile.interfaceModels a dynamic constant pool entry, which is eitherConstantDynamicEntryorInvokeDynamicEntry.interfaceModels aCONSTANT_Fieldref_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_Float_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_Integer_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_InterfaceMethodRef_infoconstant in the constant pool of a classfile.interfaceModels a constant pool entry for a dynamic call site.interfaceMarker interface for constant pool entries suitable for loading via theLDCinstructions.interfaceModels aCONSTANT_Long_infoconstant in the constant pool of a classfile.interfaceModels a member reference constant in the constant pool of a classfile, which includes references to fields, methods, and interface methods.interfaceModels aCONSTANT_MethodHandle_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_MethodRef_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_MethodType_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_Module_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_NameAndType_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_Package_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_String_infoconstant in the constant pool of a classfile.interfaceModels aCONSTANT_UTF8_infoconstant in the constant pool of a classfile.Subinterfaces with type arguments of type PoolEntry in java.lang.classfile.constantpoolModifier and TypeInterfaceDescriptioninterfaceProvides 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