Module jdk.compiler

Interface Tree

All Known Subinterfaces:
AnnotatedTypeTree, AnnotationTree, AnyPatternTree, ArrayAccessTree, ArrayTypeTree, AssertTree, AssignmentTree, BinaryTree, BindingPatternTree, BlockTree, BreakTree, CaseLabelTree, CaseTree, CatchTree, ClassTree, CompilationUnitTree, CompoundAssignmentTree, ConditionalExpressionTree, ConstantCaseLabelTree, ContinueTree, DeconstructionPatternTree, DefaultCaseLabelTree, DirectiveTree, DoWhileLoopTree, EmptyStatementTree, EnhancedForLoopTree, ErroneousTree, ExportsTree, ExpressionStatementTree, ExpressionTree, ForLoopTree, IdentifierTree, IfTree, ImportTree, InstanceOfTree, IntersectionTypeTree, LabeledStatementTree, LambdaExpressionTree, LiteralTree, MemberReferenceTree, MemberSelectTree, MethodInvocationTree, MethodTree, ModifiersTree, ModuleTree, NewArrayTree, NewClassTree, OpensTree, PackageTree, ParameterizedTypeTree, ParenthesizedTree, PatternCaseLabelTree, PatternTree, PrimitiveTypeTree, ProvidesTree, RequiresTree, ReturnTree, StatementTree, StringTemplateTreePREVIEW, SwitchExpressionTree, SwitchTree, SynchronizedTree, ThrowTree, TryTree, TypeCastTree, TypeParameterTree, UnaryTree, UnionTypeTree, UsesTree, VariableTree, WhileLoopTree, WildcardTree, YieldTree

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 other applications.

Since:
1.6