- すべてのスーパー・インタフェース:
ClassFileElementPREVIEW
- 既知のすべてのサブインタフェース:
ClassModelPREVIEW
,CodeAttributePREVIEW
,CodeModelPREVIEW
,FieldModelPREVIEW
,MethodModelPREVIEW
,RecordComponentInfoPREVIEW
public sealed interface AttributedElement extends ClassFileElementPREVIEW permits ClassModelPREVIEW, CodeModelPREVIEW, FieldModelPREVIEW, MethodModelPREVIEW, RecordComponentInfoPREVIEW (not exhaustive)
AttributedElement
は、JavaプラットフォームのプレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
クラス、フィールド、メソッド、コード属性、レコード・コンポーネントなどの属性を持つエンティティを記述する
ClassFileElement
PREVIEW。-
メソッドのサマリー
修飾子と型メソッド説明この要素の属性を返します。findAttribute
(AttributeMapperPREVIEW<T> attr) 名前で属性を検索します。findAttributes
(AttributeMapperPREVIEW<T> attr) 名前で1つ以上の属性を検索します。
-
メソッドの詳細
-
attributes
-
findAttribute
-
findAttributes
-
AttributedElement
を使用できます。