インタフェース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ノードにアクセスします。
-