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 方法 描述 TreePathTreePathScanner. getCurrentPath()返回由当前激活的一组扫描调用构建的节点的当前路径。TreePathTreePath. getParentPath()返回包围节点的路径,如果没有包围节点,则返回null。static TreePathTreePath. getPath(CompilationUnitTree unit, 树 target)返回编译单元中树节点的树路径,如果未找到该节点,则null。static TreePathTreePath. getPath(TreePath path, 树 target)返回由TreePath对象标识的子树内的树节点的树路径。abstract TreePathTrees. getPath(CompilationUnitTree unit, 树 node)返回指定编译单元中树节点的路径。abstract TreePathTrees. getPath(Element e)返回给定元素的TreePath节点。abstract TreePathTrees. getPath(Element e, AnnotationMirror a)返回给定元素上的AnnotationMirror的TreePath节点。abstract TreePathTrees. getPath(Element e, AnnotationMirror a, AnnotationValue v)返回指定元素上AnnotationMirror的AnnotationValue的TreePath节点。TreePathDocTreePath. getTreePath()返回与此路径相关联的TreePath。Methods in com.sun.source.util with parameters of type TreePath Modifier and Type 方法 描述 abstract StringTrees. getDocComment(TreePath path)返回给定TreePath标识的Tree节点的doc注释(如果有)。abstract DocCommentTreeDocTrees. getDocCommentTree(TreePath path)返回由给定TreePath标识的Tree节点的doc注释树(如果有)。abstract ElementTrees. getElement(TreePath path)返回给定TreePath标识的Tree节点的元素。static DocTreePathDocTreePath. getPath(TreePath treePath, DocCommentTree doc, DocTree target)返回编译单元中树节点的文档树路径,如果未找到节点,则null。static TreePathTreePath. getPath(TreePath path, 树 target)返回由TreePath对象标识的子树内的树节点的树路径。abstract ScopeTrees. getScope(TreePath path)返回给定TreePath标识的Tree节点的范围。abstract TypeMirrorTrees. getTypeMirror(TreePath path)返回给定TreePath标识的Tree节点的TypeMirror。RTreePathScanner. 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。
-