All Superinterfaces:
AttributedElement, ClassFileElement, CompoundElement<ClassElement>, Iterable<ClassElement>

  • Method Summary

    Returns the constant pool for this class.

    fields()

    Returns the fields of this class.

    flags()

    Returns the access flags.

    Returns the interfaces implemented by this class.

    boolean

    Returns whether this class file is a module descriptor.

    int

    Returns the major version of this class.

    methods()

    Returns the methods of this class.

    int

    Returns the minor version of this class.

    Returns the superclass of this class, if there is one.

    thisClass()

    Returns the constant pool entry describing the name of this class.

    Methods declared in interface CompoundElement

    elementList, elementStream, forEach, iterator, toDebugString

    Returns a List containing all member elements in this compound element.

    Returns a Stream containing all member elements in this compound element.

    void

    Invokes the provided handler with each member element in this compound element.

    Returns an Iterator describing all member elements in this compound element.

    Returns a text representation of the compound element and its contents for debugging purposes.

  • Method Details

    • constantPool

    • flags

    • thisClass

    • majorVersion

    • minorVersion

    • fields

    • methods

    • superclass

    • interfaces

    • isModuleInfo