インタフェース
javax.lang.model.element.AnnotationValueの使用
-
AnnotationValueを使用するパッケージ パッケージ 説明 com.sun.source.util 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。javax.annotation.processing 注釈プロセッサを宣言し、注釈プロセッサが注釈処理ツール環境と通信できるようにするための機能。javax.lang.model.element Javaプログラミング言語の要素をモデル化するために使用されるインタフェースです。javax.lang.model.util -
-
com.sun.source.utilでのAnnotationValueの使用
型AnnotationValueのパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 abstract TreePathTrees. getPath(Element e, AnnotationMirror a, AnnotationValue v)指定されたElementのAnnotationMirrorのAnnotationValueのTreePathノードを返します。abstract TreeTrees. getTree(Element e, AnnotationMirror a, AnnotationValue v)指定されたElementのAnnotationMirrorのAnnotationValueのTreeノードを返します。 -
javax.annotation.processingでのAnnotationValueの使用
AnnotationValue型のパラメータを持つjavax.annotation.processingのメソッド 修飾子と型 メソッド 説明 voidMessager. printMessage(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v)注釈の付いた要素の注釈ミラーに含まれる注釈値の位置における、指定された種類のメッセージを出力します。 -
javax.lang.model.elementでのAnnotationValueの使用
AnnotationValueを返すjavax.lang.model.elementのメソッド 修飾子と型 メソッド 説明 AnnotationValueExecutableElement. getDefaultValue()この実行可能ファイルが注釈型要素である場合は、デフォルト値を返します。AnnotationValueUnknownAnnotationValueException. getUnknownAnnotationValue()未知の注釈値を返します。AnnotationValue型の引数を持つ型を返すjavax.lang.model.elementのメソッド 修飾子と型 メソッド 説明 Map<? extends ExecutableElement,? extends AnnotationValue>AnnotationMirror. getElementValues()注釈の要素の値を返します。AnnotationValue型のパラメータを持つjavax.lang.model.elementのメソッド 修飾子と型 メソッド 説明 default RAnnotationValueVisitor. visit(AnnotationValue av)visit(av, null)と同等の簡易メソッドです。RAnnotationValueVisitor. visit(AnnotationValue av, P p)注釈値をビジットします。RAnnotationValueVisitor. visitUnknown(AnnotationValue av, P p)未知の種類の注釈値をビジットします。AnnotationValue型の型引数を持つjavax.lang.model.elementのメソッド・パラメータ 修飾子と型 メソッド 説明 RAnnotationValueVisitor. visitArray(List<? extends AnnotationValue> vals, P p)注釈の配列値をビジットします。AnnotationValue型のパラメータを持つjavax.lang.model.elementのコンストラクタ コンストラクタ 説明 UnknownAnnotationValueException(AnnotationValue av, Object p)新しいUnknownAnnotationValueExceptionを作成します。 -
javax.lang.model.utilでのAnnotationValueの使用
AnnotationValue型の引数を持つ型を返すjavax.lang.model.utilのメソッド 修飾子と型 メソッド 説明 Map<? extends ExecutableElement,? extends AnnotationValue>Elements. getElementValuesWithDefaults(AnnotationMirror a)デフォルトを含む注釈の要素の値を返します。AnnotationValue型のパラメータを持つjavax.lang.model.utilのメソッド 修飾子と型 メソッド 説明 RAbstractAnnotationValueVisitor6. visit(AnnotationValue av)注釈値のacceptメソッドに自身を渡し、追加のパラメータにnullを渡すかのようにして、その注釈値をビジットします。RAbstractAnnotationValueVisitor6. visit(AnnotationValue av, P p)任意の注釈値を、その値acceptに渡すことによってビジットします。RAbstractAnnotationValueVisitor6. visitUnknown(AnnotationValue av, P p)未知の種類の注釈値をビジットします。AnnotationValue型の型引数を持つjavax.lang.model.utilのメソッド・パラメータ 修飾子と型 メソッド 説明 RSimpleAnnotationValueVisitor6. visitArray(List<? extends AnnotationValue> vals, P p)注釈の配列値をビジットします。
-