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.classfilePREVIEW library.-
Uses of PoolEntryPREVIEW in java.lang.classfilePREVIEW
Methods in java.lang.classfilePREVIEW with type parameters of type PoolEntryPREVIEWModifier 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.Methods in java.lang.classfilePREVIEW that return PoolEntryPREVIEWModifier 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.classfilePREVIEW with parameters of type PoolEntryPREVIEWModifier and TypeMethodDescriptionvoidBufWriter.writeIndex(PoolEntryPREVIEW entry) Write the index of the specified constant pool entry, as au2, to the buffervoidBufWriter.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
Subinterfaces of PoolEntryPREVIEW in java.lang.classfile.constantpoolPREVIEWModifier and TypeInterfaceDescriptioninterfacePreview.A constant pool entry that may be used by annotation constant values, which includes the four kinds of primitive constants and UTF8 constants.interfacePreview.Models aCONSTANT_Class_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_Dynamic_infoconstant in the constant pool of a classfile.interfacePreview.Models a constant pool entry that can be used as the constant in aConstantValuePREVIEW attribute; this includes the four primitive constant types and String constants.interfacePreview.Models aCONSTANT_Double_infoconstant in the constant pool of a classfile.interfacePreview.Models a dynamic constant pool entry, which is eitherConstantDynamicEntryPREVIEW orInvokeDynamicEntryPREVIEW.interfacePreview.Models aCONSTANT_Fieldref_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_Float_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_Integer_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_InterfaceMethodRef_infoconstant in the constant pool of a classfile.interfacePreview.Models a constant pool entry for a dynamic call site.interfacePreview.Marker interface for constant pool entries suitable for loading via theLDCinstructions.interfacePreview.Models aCONSTANT_Long_infoconstant in the constant pool of a classfile.interfacePreview.Models a member reference constant in the constant pool of a classfile, which includes references to fields, methods, and interface methods.interfacePreview.Models aCONSTANT_MethodHandle_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_MethodRef_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_MethodType_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_Module_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_NameAndType_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_Package_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_String_infoconstant in the constant pool of a classfile.interfacePreview.Models aCONSTANT_UTF8_infoconstant in the constant pool of a classfile.Subinterfaces with type arguments of type PoolEntryPREVIEW in java.lang.classfile.constantpoolPREVIEWModifier and TypeInterfaceDescriptioninterfacePreview.Provides read access to the constant pool and bootstrap method table of a classfile.Methods in java.lang.classfile.constantpoolPREVIEW with type parameters of type PoolEntryPREVIEWModifier and TypeMethodDescriptionConstantPool.entryByIndex(int index, Class<T> cls) Returns the entry of a given type at the specified index.Methods in java.lang.classfile.constantpoolPREVIEW that return PoolEntryPREVIEWModifier and TypeMethodDescriptionConstantPool.entryByIndex(int index) Returns the entry at the specified index.Methods in java.lang.classfile.constantpoolPREVIEW that return types with arguments of type PoolEntryPREVIEW