DocCommentTree node.
| Modifier and Type | Field and Description |
|---|---|
| private final DocCommentTree | |
| private final DocTree | |
| private final DocTreePath | |
| private final TreePath |
| Access | Constructor and Description |
|---|---|
| public | DocTreePath(TreePath
the treePath, DocCommentTree TreePath from which the root node was createdthe t)DocCommentTree to create the path forCreates a |
| public | DocTreePath(DocTreePath
the parent node p, DocTree the child node t)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public DocCommentTree | Returns: theDocCommentTree for this DocTreePathReturns the |
| public DocTree | |
| public DocTreePath | Returns: DocTreePath of parentReturns the path for the enclosing node, or |
| public static DocTreePath | Returns: a path identifying the target within the treethe path for the node with which the doc comment is associated treePath, DocCommentTree the doc comment associated with the node doc, DocTree a node within the doc comment target)Returns a documentation tree path for a tree node within a compilation unit,
or |
| public static DocTreePath | Returns: a path identifying the target nodea path identifying a node within a doc comment tree path, DocTree a node to be located within the given node target)Returns a documentation tree path for a tree node within a subtree
identified by a |
| public TreePath | Returns: theTreePath for this DocTreePathReturns the |
| public Iterator |
| docComment | back to summary |
|---|---|
| private final DocCommentTree docComment | |
| leaf | back to summary |
|---|---|
| private final DocTree leaf | |
| parent | back to summary |
|---|---|
| private final DocTreePath parent | |
| treePath | back to summary |
|---|---|
| private final TreePath treePath | |
| DocTreePath | back to summary |
|---|---|
| public DocTreePath(TreePath treePath, DocCommentTree t) Creates a
| |
| DocTreePath | back to summary |
|---|---|
| public DocTreePath(DocTreePath p, DocTree t) Creates a
| |
| getDocComment | back to summary |
|---|---|
| public DocCommentTree getDocComment() Returns the
| |
| getLeaf | back to summary |
|---|---|
| public DocTree getLeaf() Returns the leaf node for this path.
| |
| getParentPath | back to summary |
|---|---|
| public DocTreePath getParentPath() Returns the path for the enclosing node, or
| |
| getPath | back to summary |
|---|---|
| public static DocTreePath getPath(TreePath treePath, DocCommentTree doc, DocTree target) Returns a documentation tree path for a tree node within a compilation unit,
or
| |
| getPath | back to summary |
|---|---|
| public static DocTreePath getPath(DocTreePath path, DocTree target) Returns a documentation tree path for a tree node within a subtree
identified by a
| |
| getTreePath | back to summary |
|---|---|
| public TreePath getTreePath() Returns the
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |