インタフェースcom.sun.source.tree.ImportTree
の使用
-
ImportTreeを使用するパッケージ パッケージ 説明 com.sun.source.tree ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。com.sun.source.util 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 -
-
com.sun.source.treeでのImportTreeの使用
ImportTree型の引数を持つ型を返すcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 List<? extends ImportTree>
CompilationUnitTree. getImports()
このコンパイル単位に表示されるインポート宣言を返します。ImportTree型のパラメータを持つcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 R
TreeVisitor. visitImport(ImportTree node, P p)
ImportTreeノードをビジットします。 -
com.sun.source.utilでのImportTreeの使用
ImportTree型のパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 R
SimpleTreeVisitor. visitImport(ImportTree node, P p)
ImportTreeノードをビジットします。R
TreeScanner. visitImport(ImportTree node, P p)
ImportTreeノードをビジットします。
-