インタフェースcom.sun.source.tree.AnnotationTree
の使用
-
AnnotationTreeを使用するパッケージ パッケージ 説明 com.sun.source.tree ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。com.sun.source.util 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 -
-
com.sun.source.treeでのAnnotationTreeの使用
AnnotationTree型の引数を持つ型を返すcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 List<? extends AnnotationTree>AnnotatedTypeTree. getAnnotations()この型表現に関連付けられた注釈を返します。List<? extends AnnotationTree>ModifiersTree. getAnnotations()この修飾子ツリー内の注釈を返します。List<? extends AnnotationTree>ModuleTree. getAnnotations()このモジュール宣言に関連付けられた注釈を返します。List<? extends AnnotationTree>NewArrayTree. getAnnotations()基本型の注釈を返します。List<? extends AnnotationTree>PackageTree. getAnnotations()このパッケージ宣言に関連付けられた注釈を返します。List<? extends AnnotationTree>TypeParameterTree. getAnnotations()型パラメータ宣言の注釈を返します。List<? extends List<? extends AnnotationTree>>NewArrayTree. getDimAnnotations()各ディメンション式の注釈を返します。List<? extends AnnotationTree>CompilationUnitTree. getPackageAnnotations()このコンパイル単位の先頭の任意のパッケージ宣言にリストされている注釈、またはパッケージ宣言がない場合はnullを返します。AnnotationTree型のパラメータを持つcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 RTreeVisitor. visitAnnotation(AnnotationTree node, P p)AnnotatedTreeノードをビジットします。 -
com.sun.source.utilでのAnnotationTreeの使用
AnnotationTree型のパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 RSimpleTreeVisitor. visitAnnotation(AnnotationTree node, P p)AnnotatedTreeノードをビジットします。RTreeScanner. visitAnnotation(AnnotationTree node, P p)AnnotatedTreeノードをビジットします。
-