- すべてのスーパー・インタフェース:
ClassElementPREVIEW
,ClassFileElementPREVIEW
public sealed interface Superclass extends ClassElementPREVIEW
Superclass
は、JavaプラットフォームのプレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
クラスのスーパークラスをモデル化します。
ClassModel
PREVIEWのトラバース時にClassElement
PREVIEWとして提供されます。 - 導入されたバージョン:
- 22
-
メソッドのサマリー
修飾子と型メソッド説明static SuperclassPREVIEW
of
(ClassEntryPREVIEW superclassEntry) SuperclassPREVIEW要素を返します。スーパークラスを返します。
-
メソッドの詳細
-
superclassEntry
-
of
static SuperclassPREVIEW of(ClassEntryPREVIEW superclassEntry) SuperclassPREVIEW要素を返します。- パラメータ:
superclassEntry
- スーパークラス- 戻り値:
- SuperclassPREVIEW要素
-
Superclass
を使用できます。