Uses of Interface
java.lang.classfile.constantpool.PoolEntry
Packages that use PoolEntry
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing 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 theclassfile.<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 theclassfile, ornullif 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 theclassfile.ClassReader.readEntryOrNull(int offset) Returns the constant pool entry whose index is given at the specified offset within theclassfile, ornullif the index at the specified offset is zero.Methods in java.lang.classfile with parameters of type PoolEntryModifier and TypeMethodDescriptionvoidBufWriter.writeIndex(PoolEntry entry) Writes the index of the specified constant pool entry as au2.voidBufWriter.writeIndexOrZero(PoolEntry entry) Writes the index of the specified constant pool entry, or the value0if the specified entry isnull, as au2. -
Uses of PoolEntry in java.lang.classfile.constantpool
Subinterfaces of PoolEntry in java.lang.classfile.constantpoolModifier and TypeInterfaceDescriptioninterfaceMarker interface for constant pool entries that can represent constant values associated with elements of annotations.interfaceModels aCONSTANT_Class_infostructure, representing a reference type, in the constant pool of aclassfile.interfaceModels aCONSTANT_Dynamic_infostructure, representing a dynamically-computed constant, in the constant pool of aclassfile.interfaceMarker interface for constant pool entries that can represent constant values in theConstantValueattribute.interfaceModels aCONSTANT_Double_infostructure, representing adoubleconstant, in the constant pool of aclassfile.interfaceSuperinterface modeling dynamically-computed constant pool entries, which includeConstantDynamicEntryandInvokeDynamicEntry, in the constant pool of aclassfile.interfaceModels aCONSTANT_Fieldref_infostructure, or a symbolic reference to a field, in the constant pool of aclassfile.interfaceModels aCONSTANT_Float_infostructure, or afloatconstant, in the constant pool of aclassfile.interfaceModels aCONSTANT_Integer_infostructure, or anintconstant, in the constant pool of aclassfile.interfaceModels aCONSTANT_InterfaceMethodRef_infostructure, or a symbolic reference to an interface method, in the constant pool of aclassfile.interfaceModels aCONSTANT_InvokeDynamic_infostructure, or the symbolic reference to a dynamically-computed call site, in the constant pool of aclassfile.interfaceMarker interface for constant pool entries suitable for loading via theldcinstructions.interfaceModels aCONSTANT_Long_infostructure, or alongconstant, in the constant pool of aclassfile.interfaceSuperinterface modeling symbolic references to a member of a class or interface in the constant pool of aclassfile, which include references to fields, class methods, and interface methods.interfaceModels aCONSTANT_MethodHandle_infostructure, or a symbolic reference to a method handle, in the constant pool of aclassfile.interfaceModels aCONSTANT_MethodRef_infostructure, or a symbolic reference to a class method, in the constant pool of aclassfile.interfaceModels aCONSTANT_MethodType_infostructure, or a symbolic reference to a method type, in the constant pool of aclassfile.interfaceModels aCONSTANT_Module_infostructure, denoting a module, in the constant pool of aclassfile.interfaceModels aCONSTANT_NameAndType_infostructure, representing a field or method, in the constant pool of aclassfile.interfaceModels aCONSTANT_Package_info, representing a package, in the constant pool of aclassfile.interfaceModels aCONSTANT_String_infostructure, or a string constant, in the constant pool of aclassfile.interfaceModels aCONSTANT_UTF8_infoconstant, representing strings, in the constant pool of aclassfile.Subinterfaces with type arguments of type PoolEntry in java.lang.classfile.constantpoolModifier and TypeInterfaceDescriptioninterfaceProvides read access to the constant pool and the bootstrap method table of aclassfile.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