インタフェース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
関連項目:
  • メソッドの詳細

    • annotations

      List<Annotation> annotations()
      この構造に対する実行時非表示宣言注釈を返します。
      戻り値:
      この構造体での実行時非表示宣言注釈
    • of

      RuntimeInvisibleAnnotations属性を返します。
      パラメータ:
      annotations - 注釈
      戻り値:
      RuntimeInvisibleAnnotations属性
    • of

      RuntimeInvisibleAnnotations属性を返します。
      パラメータ:
      annotations - 注釈
      戻り値:
      RuntimeInvisibleAnnotations属性