ClassModel (Java SE 22 [ad-hoc build]) (original) (raw)

This specification is not final and is subject to change. Use is subject to license terms.

Returns the constant pool for this class.
[fields](#fields%28%29)()
Returns the fields of this class.
[flags](#flags%28%29)()
Returns the access flags.
Returns the interfaces implemented by this class.
boolean
Returns whether this class is a module descriptor.
int
Returns the major classfile version.
[methods](#methods%28%29)()
Returns the methods of this class.
int
Returns the minor classfile version.
Returns the superclass of this class, if there is one.
[thisClass](#thisClass%28%29)()
Returns the constant pool entry describing the name of this class.