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 PoolEntry
    Modifier and Type
    Method
    Description
    <T extends PoolEntry>
    T
    ClassReader.readEntry(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.
    <T extends PoolEntry>
    T
    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.classfile that return PoolEntry
    Modifier and Type
    Method
    Description
    ClassReader.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 PoolEntry
    Modifier and Type
    Method
    Description
    void
    BufWriter.writeIndex(PoolEntry entry)
    Write the index of the specified constant pool entry, as a u2, to the buffer
    void
    BufWriter.writeIndexOrZero(PoolEntry entry)
    Write the index of the specified constant pool entry, as a u2, to the buffer, or zero if the entry is null
  • Uses of PoolEntry in java.lang.classfile.constantpool

    Modifier and Type
    Interface
    Description
    interface 
    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 a CONSTANT_Class_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_Dynamic_info constant in the constant pool of a classfile.
    interface 
    Models a constant pool entry that can be used as the constant in a ConstantValue attribute; this includes the four primitive constant types and String constants.
    interface 
    Models a CONSTANT_Double_info constant in the constant pool of a classfile.
    interface 
    Models a dynamic constant pool entry, which is either ConstantDynamicEntry or InvokeDynamicEntry.
    interface 
    Models a CONSTANT_Fieldref_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_Float_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_Integer_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_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 the LDC instructions.
    interface 
    Models a CONSTANT_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 a CONSTANT_MethodHandle_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_MethodRef_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_MethodType_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_Module_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_NameAndType_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_Package_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_String_info constant in the constant pool of a classfile.
    interface 
    Models a CONSTANT_UTF8_info constant in the constant pool of a classfile.
    Subinterfaces with type arguments of type PoolEntry in java.lang.classfile.constantpool
    Modifier and Type
    Interface
    Description
    interface 
    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 PoolEntry
    Modifier and Type
    Method
    Description
    <T extends PoolEntry>
    T
    ConstantPool.entryByIndex(int index, Class<T> cls)
    Returns the entry of a given type at the specified index.
    Modifier and Type
    Method
    Description
    ConstantPool.entryByIndex(int index)
    Returns the entry at the specified index.
    Methods in java.lang.classfile.constantpool that return types with arguments of type PoolEntry
    Modifier and Type
    Method
    Description
    ConstantPool.iterator()
    Returns an iterator over pool entries.