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