インタフェースjava.lang.classfile.AnnotationElementの
使用
AnnotationElementを使用するパッケージ
-
java.lang.classfileでのAnnotationElementの使用
修飾子と型メソッド説明static AnnotationElementAnnotationElement.of(Utf8Entry name, AnnotationValue value) 要素と値のペアを返します。static AnnotationElementAnnotationElement.of(String name, AnnotationValue value) 要素と値のペアを返します。static AnnotationElementAnnotationElement.ofAnnotation(String name, Annotation value) 注釈値要素の要素と値のペアを返します。static AnnotationElementAnnotationElement.ofArray(String name, AnnotationValue... values) 配列値要素の要素と値のペアを返します。static AnnotationElementブール値要素の要素と値のペアを返します。static AnnotationElementバイト値要素の要素と値のペアを返します。static AnnotationElement文字値エレメントのエレメントと値のペアを返します。static AnnotationElementクラス値要素の要素と値のペアを返します。static AnnotationElement二重値要素の要素と値のペアを返します。static AnnotationElement浮動小数値の要素の要素と値のペアを返します。static AnnotationElementint値要素の要素と値のペアを返します。static AnnotationElement長い値を持つ要素の要素と値のペアを返します。static AnnotationElement短値の要素の要素と値のペアを返します。static AnnotationElement文字列値要素の要素と値のペアを返します。型AnnotationElementの引数を持つ型を返すjava.lang.classfileのメソッド型AnnotationElementのパラメータを持つjava.lang.classfileのメソッド修飾子と型メソッド説明static AnnotationAnnotation.of(Utf8Entry annotationClass, AnnotationElement... elements) 注釈を返します。static AnnotationAnnotation.of(ClassDesc annotationClass, AnnotationElement... elements) 注釈を返します。型AnnotationElementの型引数を持つjava.lang.classfileのメソッド・パラメータ修飾子と型メソッド説明static AnnotationAnnotation.of(Utf8Entry annotationClass, List<AnnotationElement> elements) 注釈を返します。static AnnotationAnnotation.of(ClassDesc annotationClass, List<AnnotationElement> elements) 注釈を返します。