| コンストラクタ | 説明 | 
|---|---|
| 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() | リーフからルートまで繰り返します。 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic 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, 2025, Oracle and/or its affiliates.  All rights reserved.