@Beta public class BaseTreeVisitor extends Object implements TreeVisitor
TreeVisitor
.Constructor and Description |
---|
BaseTreeVisitor() |
public void visitCompilationUnit(CompilationUnitTree tree)
visitCompilationUnit
in interface TreeVisitor
public void visitImport(ImportTree tree)
visitImport
in interface TreeVisitor
public void visitClass(ClassTree tree)
visitClass
in interface TreeVisitor
public void visitMethod(MethodTree tree)
visitMethod
in interface TreeVisitor
public void visitBlock(BlockTree tree)
visitBlock
in interface TreeVisitor
public void visitEmptyStatement(EmptyStatementTree tree)
visitEmptyStatement
in interface TreeVisitor
public void visitLabeledStatement(LabeledStatementTree tree)
visitLabeledStatement
in interface TreeVisitor
public void visitExpressionStatement(ExpressionStatementTree tree)
visitExpressionStatement
in interface TreeVisitor
public void visitIfStatement(IfStatementTree tree)
visitIfStatement
in interface TreeVisitor
public void visitAssertStatement(AssertStatementTree tree)
visitAssertStatement
in interface TreeVisitor
public void visitSwitchStatement(SwitchStatementTree tree)
visitSwitchStatement
in interface TreeVisitor
public void visitCaseGroup(CaseGroupTree tree)
visitCaseGroup
in interface TreeVisitor
public void visitCaseLabel(CaseLabelTree tree)
visitCaseLabel
in interface TreeVisitor
public void visitWhileStatement(WhileStatementTree tree)
visitWhileStatement
in interface TreeVisitor
public void visitDoWhileStatement(DoWhileStatementTree tree)
visitDoWhileStatement
in interface TreeVisitor
public void visitForStatement(ForStatementTree tree)
visitForStatement
in interface TreeVisitor
public void visitForEachStatement(ForEachStatement tree)
visitForEachStatement
in interface TreeVisitor
public void visitBreakStatement(BreakStatementTree tree)
visitBreakStatement
in interface TreeVisitor
public void visitContinueStatement(ContinueStatementTree tree)
visitContinueStatement
in interface TreeVisitor
public void visitReturnStatement(ReturnStatementTree tree)
visitReturnStatement
in interface TreeVisitor
public void visitThrowStatement(ThrowStatementTree tree)
visitThrowStatement
in interface TreeVisitor
public void visitSynchronizedStatement(SynchronizedStatementTree tree)
visitSynchronizedStatement
in interface TreeVisitor
public void visitTryStatement(TryStatementTree tree)
visitTryStatement
in interface TreeVisitor
public void visitCatch(CatchTree tree)
visitCatch
in interface TreeVisitor
public void visitUnaryExpression(UnaryExpressionTree tree)
visitUnaryExpression
in interface TreeVisitor
public void visitBinaryExpression(BinaryExpressionTree tree)
visitBinaryExpression
in interface TreeVisitor
public void visitConditionalExpression(ConditionalExpressionTree tree)
visitConditionalExpression
in interface TreeVisitor
public void visitArrayAccessExpression(ArrayAccessExpressionTree tree)
visitArrayAccessExpression
in interface TreeVisitor
public void visitMemberSelectExpression(MemberSelectExpressionTree tree)
visitMemberSelectExpression
in interface TreeVisitor
public void visitNewClass(NewClassTree tree)
visitNewClass
in interface TreeVisitor
public void visitNewArray(NewArrayTree tree)
visitNewArray
in interface TreeVisitor
public void visitMethodInvocation(MethodInvocationTree tree)
visitMethodInvocation
in interface TreeVisitor
public void visitTypeCast(TypeCastTree tree)
visitTypeCast
in interface TreeVisitor
public void visitInstanceOf(InstanceOfTree tree)
visitInstanceOf
in interface TreeVisitor
public void visitParenthesized(ParenthesizedTree tree)
visitParenthesized
in interface TreeVisitor
public void visitAssignmentExpression(AssignmentExpressionTree tree)
visitAssignmentExpression
in interface TreeVisitor
public void visitLiteral(LiteralTree tree)
visitLiteral
in interface TreeVisitor
public void visitIdentifier(IdentifierTree tree)
visitIdentifier
in interface TreeVisitor
public void visitVarType(VarTypeTree tree)
visitVarType
in interface TreeVisitor
public void visitVariable(VariableTree tree)
visitVariable
in interface TreeVisitor
public void visitPrimitiveType(PrimitiveTypeTree tree)
visitPrimitiveType
in interface TreeVisitor
public void visitArrayType(ArrayTypeTree tree)
visitArrayType
in interface TreeVisitor
public void visitEnumConstant(EnumConstantTree tree)
visitEnumConstant
in interface TreeVisitor
public void visitParameterizedType(ParameterizedTypeTree tree)
visitParameterizedType
in interface TreeVisitor
public void visitWildcard(WildcardTree tree)
visitWildcard
in interface TreeVisitor
public void visitUnionType(UnionTypeTree tree)
visitUnionType
in interface TreeVisitor
public void visitModifier(ModifiersTree modifiersTree)
visitModifier
in interface TreeVisitor
public void visitAnnotation(AnnotationTree annotationTree)
visitAnnotation
in interface TreeVisitor
public void visitLambdaExpression(LambdaExpressionTree lambdaExpressionTree)
visitLambdaExpression
in interface TreeVisitor
public void visitTypeParameter(TypeParameterTree typeParameter)
visitTypeParameter
in interface TreeVisitor
public void visitTypeArguments(TypeArguments trees)
visitTypeArguments
in interface TreeVisitor
public void visitTypeParameters(TypeParameters trees)
visitTypeParameters
in interface TreeVisitor
public void visitOther(Tree tree)
visitOther
in interface TreeVisitor
public void visitMethodReference(MethodReferenceTree methodReferenceTree)
visitMethodReference
in interface TreeVisitor
public void visitPackage(PackageDeclarationTree tree)
visitPackage
in interface TreeVisitor
public void visitModule(ModuleDeclarationTree module)
visitModule
in interface TreeVisitor
public void visitRequiresDirectiveTree(RequiresDirectiveTree tree)
visitRequiresDirectiveTree
in interface TreeVisitor
public void visitExportsDirectiveTree(ExportsDirectiveTree tree)
visitExportsDirectiveTree
in interface TreeVisitor
public void visitOpensDirective(OpensDirectiveTree tree)
visitOpensDirective
in interface TreeVisitor
public void visitUsesDirective(UsesDirectiveTree tree)
visitUsesDirective
in interface TreeVisitor
public void visitProvidesDirective(ProvidesDirectiveTree tree)
visitProvidesDirective
in interface TreeVisitor
public void visitArrayDimension(ArrayDimensionTree tree)
visitArrayDimension
in interface TreeVisitor
Copyright © 2012–2018 SonarSource. All rights reserved.