| com.sun.source.tree.Tree
All known Subclasses: com.sun.tools.javac.tree.JCTree,
Tree | public interface Tree (Code) | | 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 Sun's Java compiler (javac)
and should not be implemented either directly or indirectly by
other applications.
author: Peter von der Ahé author: Jonathan Gibbons since: 1.6 |
Inner Class :public enum Kind | |
Method Summary | |
R | accept(TreeVisitor<R, D> visitor, D data) Accept method used to implement the visitor pattern. | Kind | getKind() Gets the kind of this tree. |
accept | R accept(TreeVisitor<R, D> visitor, D data)(Code) | | Accept method used to implement the visitor pattern. The
visitor pattern is used to implement operations on trees.
< Parameters: R - > result type of this operation.< Parameters: D - > type of additonal data. |
getKind | Kind getKind()(Code) | | Gets the kind of this tree.
the kind of this tree. |
|
|