public interface: Tree
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
Peter - von der Ahé
Jonathan - Gibbons
|Nested Class Summary:|
|public enum class ||Tree.Kind ||Enumerates all kinds of trees. |
|Method from com.sun.source.tree.Tree Detail:|
public R accept(TreeVisitor<R, D> visitor,
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.