Home » openjdk-7 » com.sun.source » tree » [javadoc | source]
public interface: Tree [javadoc | source] Common interface for all nodes in an abstract syntax tree.

WARNING: This interface and its sub-interfaces are subject to change as the Java™ programming language evolves. These interfaces are implemented by the JDK Java compiler (javac) and should not be implemented either directly or indirectly by other applications.

Nested Class Summary:
public enum class  Tree.Kind  Enumerates all kinds of trees. 
Method from com.sun.source.tree.Tree Summary:
accept,   getKind
Method from com.sun.source.tree.Tree Detail:
 public R accept(TreeVisitor<R, D> visitor,
    D data)
    Accept method used to implement the visitor pattern. The visitor pattern is used to implement operations on trees.
 public Kind getKind()
    Gets the kind of this tree.