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