Uses of Interface
com.sun.source.doctree.DocCommentTree
-
Packages that use DocCommentTree 软件包 描述 com.sun.source.doctree 提供用于将文档注释表示为抽象语法树(AST)的接口。com.sun.source.util 为抽象语法树(AST)的操作提供实用程序。 -
-
Uses of DocCommentTree in com.sun.source.doctree
Methods in com.sun.source.doctree with parameters of type DocCommentTree Modifier and Type 方法 描述 R
DocTreeVisitor. visitDocComment(DocCommentTree node, P p)
访问DocCommentTree节点。 -
Uses of DocCommentTree in com.sun.source.util
Methods in com.sun.source.util that return DocCommentTree Modifier and Type 方法 描述 DocCommentTree
DocTreePath. getDocComment()
返回与此路径相关联的DocCommentTree。abstract DocCommentTree
DocTrees. getDocCommentTree(TreePath path)
返回由给定TreePath标识的Tree节点的doc注释树(如果有)。abstract DocCommentTree
DocTrees. getDocCommentTree(Element e)
返回给定元素的文档注释树。abstract DocCommentTree
DocTrees. getDocCommentTree(Element e, String relativePath)
返回相对于给定元素指定路径的给定文件的doc注释树。abstract DocCommentTree
DocTrees. getDocCommentTree(FileObject fileObject)
返回给定文件的文档注释树。DocCommentTree
DocTreeFactory. newDocCommentTree(List<? extends DocTree> fullBody, List<? extends DocTree> tags)
创建一个新的DocCommentTree
对象,以表示完整的文档注释。Methods in com.sun.source.util with parameters of type DocCommentTree Modifier and Type 方法 描述 long
DocSourcePositions. getEndPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)
返回文件中注释中树的结束位置。static DocTreePath
DocTreePath. getPath(TreePath treePath, DocCommentTree doc, DocTree target)
返回编译单元中树节点的文档树路径,如果未找到该节点,则null
。long
DocSourcePositions. getStartPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)
返回文件内注释中树的起始位置。abstract void
DocTrees. printMessage(Diagnostic.Kind kind, CharSequence msg, DocTree t, DocCommentTree c, CompilationUnitTree root)
在提供的编译单元中的树的位置打印指定类型的消息R
DocTreeScanner. visitDocComment(DocCommentTree node, P p)
访问DocCommentTree节点。R
SimpleDocTreeVisitor. visitDocComment(DocCommentTree node, P p)
访问DocCommentTree节点。Constructors in com.sun.source.util with parameters of type DocCommentTree Constructor 描述 DocTreePath(TreePath treePath, DocCommentTree t)
为根节点创建DocTreePath。
-