Interface Superclass
- All Superinterfaces:
ClassElementPREVIEW
,ClassFileElementPREVIEW
Superclass
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models the superclass of a class. Delivered as a
ClassElement
PREVIEW when traversing a ClassModel
PREVIEW.- Since:
- 22
-
Method Summary
Modifier and TypeMethodDescriptionstatic SuperclassPREVIEW
of
(ClassEntryPREVIEW superclassEntry) Returns a Superclass element.Returns the superclass.
-
Method Details
-
superclassEntry
-
of
Returns a Superclass element.- Parameters:
superclassEntry
- the superclass- Returns:
- a Superclass element
-
Superclass
when preview features are enabled.