java.lang.Object
com.sun.source.util.DocTreePath
A path of tree nodes, typically used to represent the sequence of ancestor
nodes of a tree node up to the top-level
DocCommentTree
node.- Since:
- 1.8
-
Constructor Summary
ConstructorsConstructorDescriptionDocTreePath
(DocTreePath p, DocTree t) Creates aDocTreePath
for a child node.DocTreePath
(TreePath treePath, DocCommentTree t) Creates aDocTreePath
for a root node. -
Method Summary
Modifier and TypeMethodDescriptionReturns theDocCommentTree
associated with this path.getLeaf()
Returns the leaf node for this path.Returns the path for the enclosing node, ornull
if there is no enclosing node.static DocTreePath
getPath
(DocTreePath path,