Uses of Interface
com.sun.source.doctree.DocCommentTree
| Package | Description |
|---|---|
| com.sun.source.doctree |
Provides interfaces to represent documentation comments as abstract syntax
trees (AST).
|
| com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
-
Uses of DocCommentTree in com.sun.source.doctree
Methods in com.sun.source.doctree with parameters of type DocCommentTree Modifier and Type Method Description RDocTreeVisitor. visitDocComment(DocCommentTree node, P p)Visits a DocCommentTree node. -
Uses of DocCommentTree in com.sun.source.util
Methods in com.sun.source.util that return DocCommentTree Modifier and Type Method Description DocCommentTreeDocTreePath. getDocComment()Returns the DocCommentTree associated with this path.abstract DocCommentTreeDocTrees. getDocCommentTree(TreePath path)Returns the doc comment tree, if any, for the Tree node identified by a given TreePath.abstract DocCommentTreeDocTrees. getDocCommentTree(Element e)Returns the doc comment tree of the given element.abstract DocCommentTreeDocTrees. getDocCommentTree(Element e, String relativePath)Returns the doc comment tree of the given file whose path is specified relative to the given element.abstract DocCommentTreeDocTrees. getDocCommentTree(FileObject fileObject)Returns the doc comment tree of the given file.DocCommentTreeDocTreeFactory. newDocCommentTree(List<? extends DocTree> fullBody, List<? extends DocTree> tags)Create a newDocCommentTreeobject, to represent a complete doc comment.DocCommentTreeDocTreeFactory. newDocCommentTree(List<? extends DocTree> fullBody, List<? extends DocTree> tags, List<? extends DocTree> preamble, List<? extends DocTree> postamble)Create a newDocCommentTreeobject, to represent the enitire doc comment.Methods in com.sun.source.util with parameters of type DocCommentTree Modifier and Type Method Description longDocSourcePositions. getEndPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)Returns the ending position of the tree within the comment within the file.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.longDocSourcePositions. getStartPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)Returns the starting position of the tree within the comment within the file.abstract voidDocTrees. printMessage(Diagnostic.Kind kind, CharSequence msg, DocTree t, DocCommentTree c, CompilationUnitTree root)Prints a message of the specified kind at the location of the tree within the provided compilation unitRDocTreeScanner. visitDocComment(DocCommentTree node, P p)Visits a DocCommentTree node.RSimpleDocTreeVisitor. visitDocComment(DocCommentTree node, P p)Visits a DocCommentTree node.Constructors in com.sun.source.util with parameters of type DocCommentTree Constructor Description DocTreePath(TreePath treePath, DocCommentTree t)Creates a DocTreePath for a root node.