インタフェースjava.lang.classfile.Annotationの
使用
AnnotationPREVIEWを使用するパッケージ
パッケージ
説明
クラス・ファイルの解析、生成および変換ライブラリを提供します。
java.lang.classfilePREVIEWライブラリのクラス・ファイル属性を記述するインタフェースを提供します。-
java.lang.classfilePREVIEWでのAnnotationPREVIEWの使用
java.lang.classfilePREVIEW内のAnnotationPREVIEWのサブインタフェース修飾子と型インタフェース説明interface修飾子と型メソッド説明AnnotationValue.OfAnnotation.annotation()注釈を返します。static AnnotationPREVIEWAnnotation.of(Utf8EntryPREVIEW annotationClass, AnnotationElementPREVIEW... elements) 注釈を返します。static AnnotationPREVIEW注釈を返します。static AnnotationPREVIEWAnnotation.of(ClassDesc annotationClass, AnnotationElementPREVIEW... elements) 注釈を返します。static AnnotationPREVIEWAnnotation.of(ClassDesc annotationClass, List<AnnotationElementPREVIEW> elements) 注釈を返します。AnnotationPREVIEW型のパラメータを持つjava.lang.classfilePREVIEWのメソッド修飾子と型メソッド説明static AnnotationElementPREVIEWAnnotationElement.ofAnnotation(String name, AnnotationPREVIEW value) annotation-valued注釈の注釈キーと値のペアを返します。AnnotationValue.ofAnnotation(AnnotationPREVIEW value) annotation-valued要素の注釈要素を返します。 -
java.lang.classfile.attributePREVIEWでのAnnotationPREVIEWの使用
AnnotationPREVIEW型の引数を持つ型を返すjava.lang.classfile.attributePREVIEWのメソッド修飾子と型メソッド説明RuntimeInvisibleAnnotationsAttribute.annotations()このクラス、フィールドまたはメソッドの非ランタイム表示の注釈を返します。RuntimeVisibleAnnotationsAttribute.annotations()このクラス、フィールドまたはメソッドで実行時に表示される注釈を返します。RuntimeInvisibleParameterAnnotationsAttribute.parameterAnnotations()各メソッド・パラメータに対応する注釈のリストを返します。RuntimeVisibleParameterAnnotationsAttribute.parameterAnnotations()各メソッド・パラメータに対応する注釈のリストを返します。AnnotationPREVIEW型のパラメータを持つjava.lang.classfile.attributePREVIEWのメソッド修飾子と型メソッド説明RuntimeInvisibleAnnotationsAttribute.of(AnnotationPREVIEW... annotations) RuntimeInvisibleAnnotations属性を返します。RuntimeVisibleAnnotationsAttribute.of(AnnotationPREVIEW... annotations) RuntimeVisibleAnnotations属性を返します。AnnotationPREVIEW型の型引数を持つjava.lang.classfile.attributePREVIEWのメソッド・パラメータ修飾子と型メソッド説明RuntimeInvisibleAnnotationsAttribute.of(List<AnnotationPREVIEW> annotations) RuntimeInvisibleAnnotations属性を返します。RuntimeInvisibleParameterAnnotationsAttribute.of(List<List<AnnotationPREVIEW>> parameterAnnotations) RuntimeInvisibleParameterAnnotations属性を返します。RuntimeVisibleAnnotationsAttribute.of(List<AnnotationPREVIEW> annotations) RuntimeVisibleAnnotations属性を返します。RuntimeVisibleParameterAnnotationsAttribute.of(List<List<AnnotationPREVIEW>> parameterAnnotations) RuntimeVisibleParameterAnnotations属性を返します。