|
Compiler Tree API | ||||||||
前 次 | フレームあり フレームなし |
TreePath を使用しているパッケージ | |
---|---|
com.sun.source.util | 抽象構文ツリー (Abstract Syntax Tree、AST) の操作のためのユーティリティーを提供します。 |
com.sun.source.util での TreePath の使用 |
---|
TreePath を返す com.sun.source.util のメソッド | |
---|---|
TreePath |
TreePathScanner.getCurrentPath()
現在アクティブなスキャン呼び出しのセットによって構築される、ノードの現在のパスを取得します。 |
TreePath |
TreePath.getParentPath()
包含するノードのパスを取得します。 |
static TreePath |
TreePath.getPath(CompilationUnitTree unit,
Tree target)
コンパイルユニット内のツリーノードのツリーパスを取得します。 |
abstract TreePath |
Trees.getPath(CompilationUnitTree unit,
Tree node)
指定されたコンパイルユニット内のツリーノードへのパスを取得します。 |
abstract TreePath |
Trees.getPath(Element e)
指定された Element の TreePath ノードを取得します。 |
abstract TreePath |
Trees.getPath(Element e,
AnnotationMirror a)
指定された Element 上の AnnotationMirror の TreePath ノードを取得します。 |
abstract TreePath |
Trees.getPath(Element e,
AnnotationMirror a,
AnnotationValue v)
指定された Element 上の AnnotationMirror の AnnotationValue の TreePath ノードを取得します。 |
static TreePath |
TreePath.getPath(TreePath path,
Tree target)
TreePath オブジェクトによって識別されるサブツリー内のツリーノードのツリーパスを取得します。 |
TreePath 型のパラメータを持つ com.sun.source.util のメソッド | |
---|---|
abstract Element |
Trees.getElement(TreePath path)
指定された TreePath によって識別される Tree ノードの Element を取得します。 |
static TreePath |
TreePath.getPath(TreePath path,
Tree target)
TreePath オブジェクトによって識別されるサブツリー内のツリーノードのツリーパスを取得します。 |
abstract Scope |
Trees.getScope(TreePath path)
指定された TreePath によって識別される Tree ノードの Scope を取得します。 |
abstract TypeMirror |
Trees.getTypeMirror(TreePath path)
指定された TreePath によって識別される Tree ノードの TypeMirror を取得します。 |
R |
TreePathScanner.scan(TreePath path,
P p)
TreePath によって識別される位置からツリーをスキャンします。 |
TreePath 型のパラメータを持つ com.sun.source.util のコンストラクタ | |
---|---|
TreePath(TreePath p,
Tree t)
子ノードの TreePath を作成します。 |
|
Compiler Tree API | ||||||||
前 次 | フレームあり フレームなし |