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 变量和类型 方法 描述 RDocTreeVisitor. visitDocComment(DocCommentTree node, P p)访问DocCommentTree节点。 -
Uses of DocCommentTree in com.sun.source.util
Methods in com.sun.source.util that return DocCommentTree 变量和类型 方法 描述 DocCommentTreeDocTreePath. getDocComment()返回与此路径关联的DocCommentTree。abstract DocCommentTreeDocTrees. getDocCommentTree(TreePath path)返回给定TreePath标识的Tree节点的doc注释树(如果有)。abstract DocCommentTreeDocTrees. getDocCommentTree(Element e)返回给定元素的doc注释树。abstract DocCommentTreeDocTrees. getDocCommentTree(Element e, String relativePath)返回给定文件的doc注释树,其路径是相对于给定元素指定的。abstract DocCommentTreeDocTrees. getDocCommentTree(FileObject fileObject)返回给定文件的doc注释树。DocCommentTreeDocTreeFactory. newDocCommentTree(List<? extends DocTree> fullBody, List<? extends DocTree> tags)创建一个新的DocCommentTree对象,以表示完整的文档注释。DocCommentTreeDocTreeFactory. 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 变量和类型 方法 描述 longDocSourcePositions. getEndPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)返回文件中注释中树的结束位置。static DocTreePathDocTreePath. getPath(TreePath treePath, DocCommentTree doc, DocTree target)返回编译单元中树节点的文档树路径,如果找不到节点,则null。longDocSourcePositions. getStartPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)返回文件中注释中树的起始位置。abstract voidDocTrees. printMessage(Diagnostic.Kind kind, CharSequence msg, DocTree t, DocCommentTree c, CompilationUnitTree root)在提供的编译单元中的树的位置打印指定种类的消息RDocTreeScanner. visitDocComment(DocCommentTree node, P p)访问DocCommentTree节点。RSimpleDocTreeVisitor. visitDocComment(DocCommentTree node, P p)访问DocCommentTree节点。Constructors in com.sun.source.util with parameters of type DocCommentTree 构造器 描述 DocTreePath(TreePath treePath, DocCommentTree t)为根节点创建DocTreePath。
-