Uses of Class
com.sun.source.util.DocTreePath
-
Packages that use DocTreePath 软件包 描述 com.sun.source.util 为抽象语法树(AST)的操作提供实用程序。jdk.javadoc.doclet Doclet API提供了一个环境,结合语言模型API和编译器树API,客户端可以检查程序和库的源代码级结构,包括嵌入在源代码中的API注释。 -
-
Uses of DocTreePath in com.sun.source.util
Methods in com.sun.source.util that return DocTreePath Modifier and Type 方法 描述 DocTreePath
DocTreePathScanner. getCurrentPath()
返回由当前激活的一组扫描调用构建的节点的当前路径。abstract DocTreePath
DocTrees. getDocTreePath(FileObject fileObject, PackageElement packageElement)
返回包含给定文件的文档注释树的文档树路径。DocTreePath
DocTreePath. getParentPath()
返回包围节点的路径,如果没有包围节点,则返回null
。static DocTreePath
DocTreePath. getPath(DocTreePath path, DocTree target)
返回由DocTreePath对象标识的子树内的树节点的文档树路径,如果未找到该节点,则null
。static DocTreePath
DocTreePath. getPath(TreePath treePath, DocCommentTree doc, DocTree target)
返回编译单元中树节点的文档树路径,如果未找到节点,则null
。Methods in com.sun.source.util with parameters of type DocTreePath Modifier and Type 方法 描述 abstract Element
DocTrees. getElement(DocTreePath path)
返回给定的DocTreePath
的叶节点引用的语言模型元素,如果未知的话null
。static DocTreePath
DocTreePath. getPath(DocTreePath path, DocTree target)
返回由DocTreePath对象标识的子树内的树节点的文档树路径,如果未找到该节点,则null
。R
DocTreePathScanner. scan(DocTreePath path, P p)
从树路径识别的位置扫描树。Constructors in com.sun.source.util with parameters of type DocTreePath Constructor 描述 DocTreePath(DocTreePath p, DocTree t)
为子节点创建DocTreePath。 -
Uses of DocTreePath in jdk.javadoc.doclet
Methods in jdk.javadoc.doclet with parameters of type DocTreePath Modifier and Type 方法 描述 void
Reporter. print(Diagnostic.Kind kind, DocTreePath path, String msg)
打印错误消息并增加错误计数。
-