インタフェースjava.lang.classfile.TypeAnnotationの
使用
TypeAnnotationPREVIEWを使用するパッケージ
パッケージ
説明
クラス・ファイルの解析、生成および変換ライブラリを提供します。
java.lang.classfilePREVIEWライブラリのクラス・ファイル属性を記述するインタフェースを提供します。-
java.lang.classfilePREVIEWでのTypeAnnotationPREVIEWの使用
修飾子と型メソッド説明static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, Utf8EntryPREVIEW annotationClassUtf8Entry, AnnotationElementPREVIEW... annotationElements) 型注釈を返します。static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, Utf8EntryPREVIEW annotationClassUtf8Entry, List<AnnotationElementPREVIEW> annotationElements) 型注釈を返します。static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, ClassDesc annotationClass, AnnotationElementPREVIEW... annotationElements) 型注釈を返します。static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, ClassDesc annotationClass, List<AnnotationElementPREVIEW> annotationElements) 型注釈を返します。 -
java.lang.classfile.attributePREVIEWでのTypeAnnotationPREVIEWの使用
TypeAnnotationPREVIEW型の引数を持つ型を返すjava.lang.classfile.attributePREVIEWのメソッド修飾子と型メソッド説明RuntimeInvisibleTypeAnnotationsAttribute.annotations()このクラス、フィールドまたはメソッドの一部のランタイム表示不可の型注釈を返します。RuntimeVisibleTypeAnnotationsAttribute.annotations()このクラス、フィールドまたはメソッドの一部のランタイム表示型注釈を返します。TypeAnnotationPREVIEW型のパラメータを持つjava.lang.classfile.attributePREVIEWのメソッド修飾子と型メソッド説明RuntimeInvisibleTypeAnnotationsAttribute.of(TypeAnnotationPREVIEW... annotations) RuntimeInvisibleTypeAnnotations属性を返します。RuntimeVisibleTypeAnnotationsAttribute.of(TypeAnnotationPREVIEW... annotations) RuntimeVisibleTypeAnnotations属性を返します。TypeAnnotationPREVIEW型の型引数を持つjava.lang.classfile.attributePREVIEWのメソッド・パラメータ修飾子と型メソッド説明RuntimeInvisibleTypeAnnotationsAttribute.of(List<TypeAnnotationPREVIEW> annotations) RuntimeInvisibleTypeAnnotations属性を返します。RuntimeVisibleTypeAnnotationsAttribute.of(List<TypeAnnotationPREVIEW> annotations) RuntimeVisibleTypeAnnotations属性を返します。