Package | Description |
---|---|
com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
Modifier and Type | Method | Description |
---|---|---|
DocTreePath |
DocTreePathScanner.getCurrentPath() |
Returns the current path for the node, as built up by the currently
active set of scan calls.
|
abstract DocTreePath |
DocTrees.getDocTreePath(FileObject fileObject,
PackageElement packageElement) |
Returns a doc tree path containing the doc comment tree of the given file.
|
DocTreePath |
DocTreePath.getParentPath() |
Returns the path for the enclosing node, or
null if there is no enclosing node. |
static DocTreePath |
DocTreePath.getPath(DocTreePath path,
DocTree target) |
Returns a documentation tree path for a tree node within a subtree
identified by a DocTreePath object, or
null if the node is not found. |
static DocTreePath |
DocTreePath.getPath(TreePath treePath,
DocCommentTree doc,
DocTree target) |
Returns a documentation tree path for a tree node within a compilation unit,
or
null if the node is not found. |
Modifier and Type | Method | Description |
---|---|---|
abstract Element |
DocTrees.getElement(DocTreePath path) |
Returns the language model element referred to by the leaf node of the given
DocTreePath , or null if unknown. |
static DocTreePath |
DocTreePath.getPath(DocTreePath path,
DocTree target) |
Returns a documentation tree path for a tree node within a subtree
identified by a DocTreePath object, or
null if the node is not found. |
R |
DocTreePathScanner.scan(DocTreePath path,
P p) |
Scans a tree from a position identified by a tree path.
|
Constructor | Description |
---|---|
DocTreePath(DocTreePath p,
DocTree t) |
Creates a DocTreePath for a child node.
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b161-1