インタフェース
javax.lang.model.element.AnnotationMirrorの使用
| パッケージ | 説明 | 
|---|---|
| com.sun.source.util | 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 | 
| javax.annotation.processing | 注釈プロセッサを宣言し、注釈プロセッサが注釈処理ツール環境とやり取りできるようにするための機能。 | 
| javax.lang.model | Java言語モデル、宣言のモデルおよびJavaプログラミング言語のタイプとタイプで構成されるパッケージのタイプと階層。 | 
| javax.lang.model.element | Javaプログラミング言語の要素をモデル化するために使用されるインタフェースです。 | 
| javax.lang.model.util | 
- 
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のメソッド 修飾子と型 メソッド 説明 List<? extends AnnotationMirror>Element. getAnnotationMirrors()この構造に直接存在する注釈を返します。AnnotationMirror型のパラメータを持つjavax.lang.model.elementのメソッド 修飾子と型 メソッド 説明 RAnnotationValueVisitor. visitAnnotation(AnnotationMirror a, P p)注釈の注釈値をビジットします。
- 
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を返します。RSimpleAnnotationValueVisitor6. visitAnnotation(AnnotationMirror a, P p)注釈の注釈値をビジットします。