Uses of Class
com.sun.source.util.DocTreePath
| Package | Description |
|---|---|
| com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
| jdk.javadoc.doclet |
The Doclet API provides an environment which, in conjunction with
the Language Model API and Compiler Tree API, allows clients
to inspect the source-level structures of programs and
libraries, including API comments embedded in the source.
|
-
Uses of DocTreePath in com.sun.source.util
Methods in com.sun.source.util that return DocTreePath Modifier and Type Method Description DocTreePathDocTreePathScanner. getCurrentPath()Returns the current path for the node, as built up by the currently active set of scan calls.abstract DocTreePathDocTrees. getDocTreePath(FileObject fileObject, PackageElement packageElement)Returns a doc tree path containing the doc comment tree of the given file.DocTreePathDocTreePath. getParentPath()Returns the path for the enclosing node, ornullif there is no enclosing node.static DocTreePathDocTreePath. getPath(DocTreePath path, DocTree target)Returns a documentation tree path for a tree node within a subtree identified by a DocTreePath object, ornullif the node is not found.static DocTreePathDocTreePath. getPath(TreePath treePath, DocCommentTree doc, DocTree target)Returns a documentation tree path for a tree node within a compilation unit, ornullif the node is not found.Methods in com.sun.source.util with parameters of type DocTreePath Modifier and Type Method Description abstract ElementDocTrees. getElement(DocTreePath path)Returns the language model element referred to by the leaf node of the givenDocTreePath, ornullif unknown.static DocTreePathDocTreePath. getPath(DocTreePath path, DocTree target)Returns a documentation tree path for a tree node within a subtree identified by a DocTreePath object, ornullif the node is not found.RDocTreePathScanner. scan(DocTreePath path, P p)Scans a tree from a position identified by a tree path.Constructors in com.sun.source.util with parameters of type DocTreePath Constructor Description DocTreePath(DocTreePath p, DocTree t)Creates a DocTreePath for a child node. -
Uses of DocTreePath in jdk.javadoc.doclet
Methods in jdk.javadoc.doclet with parameters of type DocTreePath Modifier and Type Method Description voidReporter. print(Diagnostic.Kind kind, DocTreePath path, String msg)Print an error message and increment error count.