Preview
Second Preview of ClassFile API (JEP 466).
Programs can only use Superclass
when preview features are enabled.
Preview features may be removed in a future release,
or upgraded to permanent features of the Java platform.
java.lang.classfile.ClassElement
when traversing a ClassModel
.
Modifier and Type | Method and Description |
---|---|
public static Superclass | Returns: a Superclass elementthe superclass superclassEntry)Returns a Superclass element. |
public ClassEntry |
of | back to summary |
---|---|
public static Superclass of(ClassEntry superclassEntry) Returns a Superclass element.
|
superclassEntry | back to summary |
---|---|
public ClassEntry superclassEntry() Returns the superclass.
|