org.sonar.plugins.java.api.tree
Interface Tree

All Known Subinterfaces:
AnnotationTree, ArrayAccessExpressionTree, ArrayTypeTree, AssertStatementTree, AssignmentExpressionTree, BinaryExpressionTree, BlockTree, BreakStatementTree, CaseGroupTree, CaseLabelTree, CatchTree, ClassTree, CompilationUnitTree, ConditionalExpressionTree, ContinueStatementTree, DoWhileStatementTree, EmptyStatementTree, EnumConstantTree, ExpressionStatementTree, ExpressionTree, ForEachStatement, ForStatementTree, IdentifierTree, IfStatementTree, ImportTree, InstanceOfTree, LabeledStatementTree, LambdaExpressionTree, LiteralTree, MemberSelectExpressionTree, MethodInvocationTree, MethodTree, ModifiersTree, NewArrayTree, NewClassTree, ParameterizedTypeTree, ParenthesizedTree, PrimitiveTypeTree, ReturnStatementTree, StatementTree, SwitchStatementTree, SynchronizedStatementTree, ThrowStatementTree, TryStatementTree, TypeCastTree, TypeParameterTree, UnaryExpressionTree, UnionTypeTree, VariableTree, WhileStatementTree, WildcardTree

@Beta
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™ language evolves.


Nested Class Summary
static class Tree.Kind
           
 
Method Summary
 void accept(TreeVisitor visitor)
           
 boolean is(Tree.Kind kind)
           
 

Method Detail

is

boolean is(Tree.Kind kind)

accept

void accept(TreeVisitor visitor)


Copyright © 2012-2014 SonarSource. All Rights Reserved.