コンストラクタと説明 |
---|
TreePath(CompilationUnitTree t)
ルートノードの TreePath を作成します。
|
TreePath(TreePath p, Tree t)
子ノードの TreePath を作成します。
|
修飾子と型 | メソッドと説明 |
---|---|
CompilationUnitTree |
getCompilationUnit()
このパスに関連付けられたコンパイルユニットを取得します。
|
Tree |
getLeaf()
このパスの葉ノードを取得します。
|
TreePath |
getParentPath()
包含するノードのパスを取得します。包含するノードがない場合は、null を返します。
|
static TreePath |
getPath(CompilationUnitTree unit, Tree target)
コンパイルユニット内のツリーノードのツリーパスを取得します。
|
static TreePath |
getPath(TreePath path, Tree target)
TreePath オブジェクトによって識別されるサブツリー内のツリーノードのツリーパスを取得します。
|
Iterator<Tree> |
iterator()
型 T の要素セットのイテレータを返します。
|
public TreePath(CompilationUnitTree t)
public static TreePath getPath(CompilationUnitTree unit, Tree target)
public static TreePath getPath(TreePath path, Tree target)
public CompilationUnitTree getCompilationUnit()
public Tree getLeaf()
public TreePath getParentPath()
Copyright © 2005, 2013, Oracle and/or its affiliates. All rights reserved.