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 变量和类型 方法 描述 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 变量和类型 方法 描述 DocCommentTree
DocTreePath. getDocComment()
返回与此路径关联的DocCommentTree。abstract DocCommentTree
DocTrees. getDocCommentTree(TreePath path)
返回给定TreePath标识的Tree节点的doc注释树(如果有)。abstract DocCommentTree
DocTrees. getDocCommentTree(Element e)
返回给定元素的doc注释树。abstract DocCommentTree
DocTrees. getDocCommentTree(Element e, String relativePath)
返回给定文件的doc注释树,其路径是相对于给定元素指定的。abstract DocCommentTree
DocTrees. getDocCommentTree(FileObject fileObject)
返回给定文件的doc注释树。DocCommentTree
DocTreeFactory. newDocCommentTree(List<? extends DocTree> fullBody, List<? extends DocTree> tags)
创建一个新的DocCommentTree
对象,以表示完整的文档注释。DocCommentTree
DocTreeFactory. newDocCommentTree(List<? extends DocTree> fullBody, List<? extends DocTree> tags, List<? extends DocTree> preamble, List<? extends DocTree> postamble)
创建一个新的DocCommentTree
对象,以表示enitire doc注释。Methods in com.sun.source.util with parameters of type DocCommentTree 变量和类型 方法 描述 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 构造器 描述 DocTreePath(TreePath treePath, DocCommentTree t)
为根节点创建DocTreePath。
-