インタフェースRuntimeInvisibleAnnotationsAttribute
- すべてのスーパー・インタフェース:
Attribute<RuntimeInvisibleAnnotationsAttribute>
,ClassElement
,ClassFileElement
,FieldElement
,MethodElement
public sealed interface RuntimeInvisibleAnnotationsAttribute extends Attribute<RuntimeInvisibleAnnotationsAttribute>, ClassElement, MethodElement, FieldElement
RuntimeInvisibleAnnotations
属性(JVMS 4.7.17)をモデル化します。この属性には、 class
ファイル・コンシューマには表示されるが、「コア反射」には表示されない宣言注釈が格納されます。
この属性は、クラス、フィールド、メソッドおよびレコード・コンポーネントに表示され、1つの構造で「複数のインスタンス」は許可されません。 「定数プール」へのデータ依存性があります。
属性は、Java SEプラットフォーム・バージョン5.0(メジャー・バージョン49)で導入されました。
- Java Virtual Machine仕様を参照してください:
-
4.7.17
RuntimeInvisibleAnnotations
属性 - 導入されたバージョン:
- 24
- 関連項目:
-
メソッドのサマリー
修飾子と型メソッド説明この構造に対する実行時非表示宣言注釈を返します。of
(Annotation... annotations) RuntimeInvisibleAnnotations
属性を返します。of
(List<Annotation> annotations) RuntimeInvisibleAnnotations
属性を返します。インタフェースjava.lang.classfile.Attributeで宣言されたメソッド
attributeMapper, attributeName
-
メソッドの詳細
-
annotations
-
of
static RuntimeInvisibleAnnotationsAttribute of(List<Annotation> annotations) RuntimeInvisibleAnnotations
属性を返します。- パラメータ:
annotations
- 注釈- 戻り値:
RuntimeInvisibleAnnotations
属性
-
of
static RuntimeInvisibleAnnotationsAttribute of(Annotation... annotations) RuntimeInvisibleAnnotations
属性を返します。- パラメータ:
annotations
- 注釈- 戻り値:
RuntimeInvisibleAnnotations
属性
-