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 Modifier and Type 方法 描述 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)
返回给定元素的TreePath节点。abstract TreePath
Trees. getPath(Element e, AnnotationMirror a)
返回给定元素上的AnnotationMirror的TreePath节点。abstract TreePath
Trees. getPath(Element e, AnnotationMirror a, AnnotationValue v)
返回指定元素上AnnotationMirror的AnnotationValue的TreePath节点。TreePath
DocTreePath. getTreePath()
返回与此路径相关联的TreePath。Methods in com.sun.source.util with parameters of type TreePath Modifier and Type 方法 描述 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节点的元素。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节点的范围。abstract TypeMirror
Trees. getTypeMirror(TreePath path)
返回给定TreePath标识的Tree节点的TypeMirror。R
TreePathScanner. scan(TreePath path, P p)
从树路径识别的位置扫描树。Constructors in com.sun.source.util with parameters of type TreePath Constructor 描述 DocTreePath(TreePath treePath, DocCommentTree t)
为根节点创建DocTreePath。TreePath(TreePath path, 树 tree)
为子节点创建一个TreePath。
-