| java.lang.Object com.sun.source.util.TreePath
TreePath | public class TreePath implements Iterable<Tree>(Code) | | A path of tree nodes, typically used to represent the sequence of ancestor
nodes of a tree node up to the top level CompilationUnitTree node.
author: Jonathan Gibbons since: 1.6 |
getLeaf | public Tree getLeaf()(Code) | | Get the leaf node for this path.
|
getParentPath | public TreePath getParentPath()(Code) | | Get the path for the enclosing node, or null if there is no enclosing node.
|
getPath | public static TreePath getPath(TreePath path, Tree target)(Code) | | Gets a tree path for a tree node within a subtree identified by a TreePath object.
null if the node is not found |
|
|