All Superinterfaces:
ConstantPool, Iterable<PoolEntry>

  • Method Summary

    int

    Returns the length of the class file, in number of bytes.

    void

    Copy a range of bytes from the class file to a BufWriter.

    Returns the table of custom attribute mappers.

    int

    flags()

    Returns the access flags for the class, as a bit mask.

    byte[]

    readBytes(int offset, int len)

    Returns a copy of the bytes at the specified range in the class file.

    double

    readDouble(int offset)

    Returns the double value at the specified offset within the class file.

    readEntry(int offset)

    Returns the constant pool entry whose index is given at the specified offset within the class file.

    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 class file.

    readEntryOrNull(int offset)

    Returns the constant pool entry whose index is given at the specified offset within the class file, or null if the index at the specified offset is zero.

    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 class file, or null if the index at the specified offset is zero.

    float

    readFloat(int offset)

    Returns the float value at the specified offset within the class file.

    int

    readInt(int offset)

    Returns the signed int at the specified offset within the class file.

    long

    readLong(int offset)

    Returns the signed long at the specified offset within the class file.

    int

    readS1(int offset)

    Returns the signed byte at the specified offset within the class file.

    int

    readS2(int offset)

    Returns the signed byte at the specified offset within the class file.

    int

    readU1(int offset)

    Returns the unsigned byte at the specified offset within the class file.

    int

    readU2(int offset)

    Returns the u2 at the specified offset within the class file.

    Returns the constant pool entry describing the name of the superclass, if any.

    Returns the constant pool entry describing the name of class.

    Methods declared in interface Iterable

    forEach, spliterator

    default void

    Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception.

    Creates a Spliterator over the elements described by this Iterable.

  • Method Details

    • customAttributes

    • flags

    • thisClassEntry

    • superclassEntry

    • classfileLength

    • readEntry

    • readEntry

    • readEntryOrNull

    • readEntryOrNull

    • readU1

    • readU2

    • readS1

    • readS2

    • readInt

    • readLong

    • readFloat

    • readDouble

    • readBytes

    • copyBytesTo