Module jdk.compiler

Interface ExpressionTree

All Superinterfaces:
CaseLabelTreePREVIEW, Tree
All Known Subinterfaces:
AnnotatedTypeTree, AnnotationTree, ArrayAccessTree, AssignmentTree, BinaryTree, CompoundAssignmentTree, ConditionalExpressionTree, ErroneousTree, IdentifierTree, InstanceOfTree, LambdaExpressionTree, LiteralTree, MemberReferenceTree, MemberSelectTree, MethodInvocationTree, NewArrayTree, NewClassTree, ParenthesizedTree, SwitchExpressionTree, TypeCastTree, UnaryTree

public interface ExpressionTree extends Tree, CaseLabelTreePREVIEW
ExpressionTree relies on preview features of the Java platform:
  • ExpressionTree refers to one or more reflective preview APIs: CaseLabelTree.
Programs can only use ExpressionTree when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A tree node used as the base class for the different types of expressions.
See Java Language Specification:
15 Expressions
Since:
1.6
  • Nested Class Summary

    Nested classes/interfaces declared in interface com.sun.source.tree.Tree

    Tree.Kind
  • Method Summary

    Methods declared in interface com.sun.source.tree.Tree

    accept, getKind