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
ClassElementPREVIEW when traversing a ClassModelPREVIEW.- Since:
- 22
-
Method Summary
Modifier and TypeMethodDescriptionstatic SuperclassPREVIEWof(ClassEntryPREVIEW superclassEntry) Returns a SuperclassPREVIEW element.Returns the superclass.
-
Method Details
-
superclassEntry
-
of
Returns a SuperclassPREVIEW element.- Parameters:
superclassEntry- the superclass- Returns:
- a SuperclassPREVIEW element
-
Superclasswhen preview features are enabled.