インタフェース com.sun.source.tree.PackageTreeの
使用
-
PackageTreeを使用するパッケージ パッケージ 説明 com.sun.source.tree ソース・コードを抽象構文ツリー(Abstract Syntax Tree、AST)として表すためのインタフェースを提供します。com.sun.source.util 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 -
-
com.sun.source.treeでのPackageTreeの使用
PackageTreeを戻すcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 PackageTree
CompilationUnitTree. getPackage()
このコンパイル単位に関連付けられたパッケージ・ツリーを返します。パッケージ宣言がない場合はnull
を返します。型PackageTreeのパラメータを持つcom.sun.source.treeのメソッド 修飾子と型 メソッド 説明 R
TreeVisitor. visitPackage(PackageTree node, P p)
PackageTreeノードをビジットします。 -
com.sun.source.utilでのPackageTreeの使用
型PackageTreeのパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 R
SimpleTreeVisitor. visitPackage(PackageTree node, P p)
PackageTreeノードをビジットします。R
TreeScanner. visitPackage(PackageTree node, P p)
PackageTreeノードをビジットします。
-