Uses of Class
com.sun.source.util.TreePath
-
Packages that use TreePath 软件包 描述 com.sun.source.util 为抽象语法树(AST)上的操作提供实用程序。 -
-
Uses of TreePath in com.sun.source.util
Methods in com.sun.source.util that return TreePath 变量和类型 方法 描述 TreePath
TreePathScanner. getCurrentPath()
返回节点的当前路径,由当前活动的扫描调用集构建。TreePath
TreePath. getParentPath()
返回封闭节点的路径,如果没有封闭节点,则返回null
。static TreePath
TreePath. getPath(CompilationUnitTree unit, 树 target)
返回编译单元中树节点的树路径,如果未找到节点,则null
。static TreePath
TreePath. getPath(TreePath path, 树 target)
返回TreePath对象标识的子树中树节点的树路径。abstract TreePath
Trees. getPath(CompilationUnitTree unit, 树 node)
返回指定编译单元中树节点的路径。abstract TreePath
Trees. getPath(Element e)
返回给定Element的TreePath节点。abstract TreePath
Trees. getPath(Element e, AnnotationMirror a)
返回给定Element上AnnotationMirror的TreePath节点。abstract TreePath
Trees. getPath(Element e, AnnotationMirror a, AnnotationValue v)
返回给定Element上AnnotationMirror的AnnotationValue的TreePath节点。TreePath
DocTreePath. getTreePath()
返回与此路径关联的TreePath。Methods in com.sun.source.util with parameters of type TreePath 变量和类型 方法 描述 abstract String
Trees. getDocComment(TreePath path)
返回给定TreePath标识的Tree节点的doc注释(如果有)。abstract DocCommentTree
DocTrees. getDocCommentTree(TreePath path)
返回给定TreePath标识的Tree节点的doc注释树(如果有)。abstract Element
Trees. getElement(TreePath path)
返回由给定TreePath标识的Tree节点的Element。static DocTreePath
DocTreePath. getPath(TreePath treePath, DocCommentTree doc, DocTree target)
返回编译单元中树节点的文档树路径,如果找不到节点,则null
。static TreePath
TreePath. getPath(TreePath path, 树 target)
返回TreePath对象标识的子树中树节点的树路径。abstract Scope
Trees. getScope(TreePath path)
返回给定TreePath标识的Tree节点的Scope。abstract TypeMirror
Trees. getTypeMirror(TreePath path)
返回由给定TreePath标识的Tree节点的TypeMirror。R
TreePathScanner. scan(TreePath path, P p)
从TreePath标识的位置扫描树。Constructors in com.sun.source.util with parameters of type TreePath 构造器 描述 DocTreePath(TreePath treePath, DocCommentTree t)
为根节点创建DocTreePath。TreePath(TreePath path, 树 tree)
为子节点创建TreePath。
-