インタフェース
javax.lang.model.element.AnnotationMirrorの使用
パッケージ
説明
抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。
注釈プロセッサを宣言し、注釈プロセッサが注釈処理ツール環境とやり取りできるようにするための機能。
Java言語モデル、宣言のモデルおよびJavaプログラミング言語のタイプとタイプで構成されるパッケージのタイプと階層。
Javaプログラミング言語の要素をモデル化するために使用されるインタフェースです。
Javaプログラミング言語の型をモデル化するために使用されるインタフェースです。
-
com.sun.source.utilでのAnnotationMirrorの使用
修飾子と型メソッド説明abstract TreePath
Trees.getPath
(Element e, AnnotationMirror a) 指定されたElementのAnnotationMirrorのTreePathノードを返します。abstract TreePath
Trees.getPath
(Element e, AnnotationMirror a, AnnotationValue v) 指定されたElementのAnnotationMirrorのAnnotationValueのTreePathノードを返します。abstract Tree
Trees.getTree
(Element e, AnnotationMirror a) 指定されたElementのAnnotationMirrorのTreeノードを返します。abstract Tree
Trees.getTree
(Element e, AnnotationMirror a, AnnotationValue v) 指定されたElementのAnnotationMirrorのAnnotationValueのTreeノードを返します。 -
javax.annotation.processingでのAnnotationMirrorの使用
修飾子と型メソッド説明Iterable<? extends Completion>
AbstractProcessor.getCompletions
(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) コンプリートの空の反復可能オブジェクトを返します。Iterable<? extends Completion>
Processor.getCompletions
(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) ある注釈に対する推奨のコンプリートから成る反復可能オブジェクトを、ツール・インフラストラクチャに返します。void
Messager.printMessage
(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a) 注釈の付いた要素の注釈ミラーの位置における、指定された種類のメッセージを出力します。void
Messager.printMessage
(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v) 注釈の付いた要素の注釈ミラーに含まれる注釈値の位置における、指定された種類のメッセージを出力します。 -
javax.lang.modelでのAnnotationMirrorの使用
修飾子と型メソッド説明List<? extends AnnotationMirror>
AnnotatedConstruct.getAnnotationMirrors()
この構造に直接存在する注釈を返します。 -
javax.lang.model.elementでのAnnotationMirrorの使用
-
javax.lang.model.typeでのAnnotationMirrorの使用
修飾子と型メソッド説明List<? extends AnnotationMirror>
TypeMirror.getAnnotationMirrors()
この構造に直接存在する注釈を返します。 -
javax.lang.model.utilでのAnnotationMirrorの使用
修飾子と型メソッド説明List<? extends AnnotationMirror>
Elements.getAllAnnotationMirrors
(Element e) 直接存在しているか継承を介して存在しているかにかかわらず、要素に存在しているすべての注釈を返します。修飾子と型メソッド説明Map<? extends ExecutableElement,
? extends AnnotationValue> Elements.getElementValuesWithDefaults
(AnnotationMirror a) デフォルトを含む注釈の要素の値を返します。default Elements.Origin
Elements.getOrigin
(AnnotatedConstruct c, AnnotationMirror a) 指定された注釈ミラーのoriginを返します。SimpleAnnotationValueVisitor6.visitAnnotation
(AnnotationMirror a, P p) 注釈の注釈値をビジットします。