站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Class com.sun.source.util.TreePath (Compiler Tree API) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Compiler Tree API

Uses of Class
com.sun.source.util.TreePath

Packages that use TreePath
com.sun.source.util Provides utilities for operations on abstract syntax trees (AST). 
 

Uses of TreePath in com.sun.source.util
 

Methods in com.sun.source.util that return TreePath
 TreePath TreePathScanner.getCurrentPath()
          Get the current path for the node, as built up by the currently active set of scan calls.
 TreePath TreePath.getParentPath()
          Get the path for the enclosing node, or null if there is no enclosing node.
static TreePath TreePath.getPath(CompilationUnitTree unit, Tree target)
          Gets a tree path for a tree node within a compilation unit.
abstract  TreePath Trees.getPath(CompilationUnitTree unit, Tree node)
          Gets the path to tree node within the specified compilation unit.
abstract  TreePath Trees.getPath(Element e)
          Gets the TreePath node for a given Element.
abstract  TreePath Trees.getPath(Element e, AnnotationMirror a)
          Gets the TreePath node for an AnnotationMirror on a given Element.
abstract  TreePath Trees.getPath(Element e, AnnotationMirror a, AnnotationValue v)
          Gets the TreePath node for an AnnotationValue for an AnnotationMirror on a given Element.
static TreePath TreePath.getPath(TreePath path, Tree target)
          Gets a tree path for a tree node within a subtree identified by a TreePath object.
 

Methods in com.sun.source.util with parameters of type TreePath
abstract  Element Trees.getElement(TreePath path)
          Gets the Element for the Tree node identified by a given TreePath.
static TreePath TreePath.getPath(TreePath path, Tree target)
          Gets a tree path for a tree node within a subtree identified by a TreePath object.
abstract  Scope Trees.getScope(TreePath path)
          Gets the Scope for the Tree node identified by a given TreePath.
abstract  TypeMirror Trees.getTypeMirror(TreePath path)
          Gets the TypeMirror for the Tree node identified by a given TreePath.
 R TreePathScanner.scan(TreePath path, P p)
          Scan a tree from a position identified by a TreePath.
 

Constructors in com.sun.source.util with parameters of type TreePath
TreePath(TreePath p, Tree t)
          Creates a TreePath for a child node.
 


Compiler Tree API

Report a bug or request a feature.
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.