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