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 变量和类型 方法 描述 DocTreePath
DocTreePathScanner. getCurrentPath()
返回节点的当前路径,由当前活动的扫描调用集构建。abstract DocTreePath
DocTrees. getDocTreePath(FileObject fileObject, PackageElement packageElement)
返回包含给定文件的doc注释树的文档树路径。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 变量和类型 方法 描述 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 构造器 描述 DocTreePath(DocTreePath p, DocTree t)
为子节点创建DocTreePath。 -
Uses of DocTreePath in jdk.javadoc.doclet
Methods in jdk.javadoc.doclet with parameters of type DocTreePath 变量和类型 方法 描述 void
Reporter. print(Diagnostic.Kind kind, DocTreePath path, String msg)
打印错误消息并增加错误计数。
-