Package org.sonar.plugins.java.api.tree
Interface TreeVisitor
-
- All Known Implementing Classes:
BaseTreeVisitor
,CheckerTreeNodeVisitor
,CognitiveComplexityVisitor
,ComplexityVisitor
,FirstPass
,JavaFilesCache
,LabelsVisitor
,LambdaBlockReturnVisitor
,PublicApiChecker
,SonarSymbolTableVisitor
,StatementVisitor
,SyntaxTreeNameFinder
,TypeAndReferenceSolver
,VariableReadExtractor
@Beta public interface TreeVisitor
- See Also:
BaseTreeVisitor
-
-
Method Summary
-
-
-
Method Detail
-
visitCompilationUnit
void visitCompilationUnit(CompilationUnitTree tree)
-
visitImport
void visitImport(ImportTree tree)
-
visitClass
void visitClass(ClassTree tree)
-
visitMethod
void visitMethod(MethodTree tree)
-
visitBlock
void visitBlock(BlockTree tree)
-
visitEmptyStatement
void visitEmptyStatement(EmptyStatementTree tree)
-
visitLabeledStatement
void visitLabeledStatement(LabeledStatementTree tree)
-
visitExpressionStatement
void visitExpressionStatement(ExpressionStatementTree tree)
-
visitIfStatement
void visitIfStatement(IfStatementTree tree)
-
visitAssertStatement
void visitAssertStatement(AssertStatementTree tree)
-
visitSwitchStatement
void visitSwitchStatement(SwitchStatementTree tree)
-
visitCaseGroup
void visitCaseGroup(CaseGroupTree tree)
-
visitCaseLabel
void visitCaseLabel(CaseLabelTree tree)
-
visitWhileStatement
void visitWhileStatement(WhileStatementTree tree)
-
visitDoWhileStatement
void visitDoWhileStatement(DoWhileStatementTree tree)
-
visitForStatement
void visitForStatement(ForStatementTree tree)
-
visitForEachStatement
void visitForEachStatement(ForEachStatement tree)
-
visitBreakStatement
void visitBreakStatement(BreakStatementTree tree)
-
visitContinueStatement
void visitContinueStatement(ContinueStatementTree tree)
-
visitReturnStatement
void visitReturnStatement(ReturnStatementTree tree)
-
visitThrowStatement
void visitThrowStatement(ThrowStatementTree tree)
-
visitSynchronizedStatement
void visitSynchronizedStatement(SynchronizedStatementTree tree)
-
visitTryStatement
void visitTryStatement(TryStatementTree tree)
-
visitCatch
void visitCatch(CatchTree tree)
-
visitUnaryExpression
void visitUnaryExpression(UnaryExpressionTree tree)
-
visitBinaryExpression
void visitBinaryExpression(BinaryExpressionTree tree)
-
visitConditionalExpression
void visitConditionalExpression(ConditionalExpressionTree tree)
-
visitArrayAccessExpression
void visitArrayAccessExpression(ArrayAccessExpressionTree tree)
-
visitMemberSelectExpression
void visitMemberSelectExpression(MemberSelectExpressionTree tree)
-
visitNewClass
void visitNewClass(NewClassTree tree)
-
visitNewArray
void visitNewArray(NewArrayTree tree)
-
visitMethodInvocation
void visitMethodInvocation(MethodInvocationTree tree)
-
visitTypeCast
void visitTypeCast(TypeCastTree tree)
-
visitInstanceOf
void visitInstanceOf(InstanceOfTree tree)
-
visitParenthesized
void visitParenthesized(ParenthesizedTree tree)
-
visitAssignmentExpression
void visitAssignmentExpression(AssignmentExpressionTree tree)
-
visitLiteral
void visitLiteral(LiteralTree tree)
-
visitIdentifier
void visitIdentifier(IdentifierTree tree)
-
visitVarType
void visitVarType(VarTypeTree tree)
-
visitVariable
void visitVariable(VariableTree tree)
-
visitEnumConstant
void visitEnumConstant(EnumConstantTree tree)
-
visitPrimitiveType
void visitPrimitiveType(PrimitiveTypeTree tree)
-
visitArrayType
void visitArrayType(ArrayTypeTree tree)
-
visitParameterizedType
void visitParameterizedType(ParameterizedTypeTree tree)
-
visitWildcard
void visitWildcard(WildcardTree tree)
-
visitUnionType
void visitUnionType(UnionTypeTree tree)
-
visitModifier
void visitModifier(ModifiersTree modifiersTree)
-
visitAnnotation
void visitAnnotation(AnnotationTree annotationTree)
-
visitLambdaExpression
void visitLambdaExpression(LambdaExpressionTree lambdaExpressionTree)
-
visitTypeParameter
void visitTypeParameter(TypeParameterTree typeParameter)
-
visitTypeArguments
void visitTypeArguments(TypeArguments trees)
-
visitTypeParameters
void visitTypeParameters(TypeParameters trees)
-
visitOther
void visitOther(Tree tree)
-
visitMethodReference
void visitMethodReference(MethodReferenceTree methodReferenceTree)
-
visitPackage
void visitPackage(PackageDeclarationTree tree)
-
visitModule
void visitModule(ModuleDeclarationTree module)
-
visitRequiresDirectiveTree
void visitRequiresDirectiveTree(RequiresDirectiveTree tree)
-
visitExportsDirectiveTree
void visitExportsDirectiveTree(ExportsDirectiveTree tree)
-
visitOpensDirective
void visitOpensDirective(OpensDirectiveTree tree)
-
visitUsesDirective
void visitUsesDirective(UsesDirectiveTree tree)
-
visitProvidesDirective
void visitProvidesDirective(ProvidesDirectiveTree tree)
-
visitArrayDimension
void visitArrayDimension(ArrayDimensionTree tree)
-
-