public class ComplexityVisitor extends BaseTreeVisitor
Constructor and Description |
---|
ComplexityVisitor() |
Modifier and Type | Method and Description |
---|---|
List<Tree> |
getNodes(Tree tree) |
void |
visitBinaryExpression(BinaryExpressionTree tree) |
void |
visitCaseLabel(CaseLabelTree tree) |
void |
visitClass(ClassTree tree) |
void |
visitConditionalExpression(ConditionalExpressionTree tree) |
void |
visitDoWhileStatement(DoWhileStatementTree tree) |
void |
visitForEachStatement(ForEachStatement tree) |
void |
visitForStatement(ForStatementTree tree) |
void |
visitIfStatement(IfStatementTree tree) |
void |
visitLambdaExpression(LambdaExpressionTree lambdaExpressionTree) |
void |
visitMethod(MethodTree tree) |
void |
visitWhileStatement(WhileStatementTree tree) |
scan, scan, scan, visitAnnotation, visitArrayAccessExpression, visitArrayDimension, visitArrayType, visitAssertStatement, visitAssignmentExpression, visitBlock, visitBreakStatement, visitCaseGroup, visitCatch, visitCompilationUnit, visitContinueStatement, visitEmptyStatement, visitEnumConstant, visitExportsDirectiveTree, visitExpressionStatement, visitIdentifier, visitImport, visitInstanceOf, visitLabeledStatement, visitLiteral, visitMemberSelectExpression, visitMethodInvocation, visitMethodReference, visitModifier, visitModule, visitNewArray, visitNewClass, visitOpensDirective, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitPrimitiveType, visitProvidesDirective, visitRequiresDirectiveTree, visitReturnStatement, visitSwitchStatement, visitSynchronizedStatement, visitThrowStatement, visitTryStatement, visitTypeArguments, visitTypeCast, visitTypeParameter, visitTypeParameters, visitUnaryExpression, visitUnionType, visitUsesDirective, visitVariable, visitWildcard
public void visitMethod(MethodTree tree)
visitMethod
in interface TreeVisitor
visitMethod
in class BaseTreeVisitor
public void visitClass(ClassTree tree)
visitClass
in interface TreeVisitor
visitClass
in class BaseTreeVisitor
public void visitLambdaExpression(LambdaExpressionTree lambdaExpressionTree)
visitLambdaExpression
in interface TreeVisitor
visitLambdaExpression
in class BaseTreeVisitor
public void visitCaseLabel(CaseLabelTree tree)
visitCaseLabel
in interface TreeVisitor
visitCaseLabel
in class BaseTreeVisitor
public void visitForEachStatement(ForEachStatement tree)
visitForEachStatement
in interface TreeVisitor
visitForEachStatement
in class BaseTreeVisitor
public void visitForStatement(ForStatementTree tree)
visitForStatement
in interface TreeVisitor
visitForStatement
in class BaseTreeVisitor
public void visitWhileStatement(WhileStatementTree tree)
visitWhileStatement
in interface TreeVisitor
visitWhileStatement
in class BaseTreeVisitor
public void visitDoWhileStatement(DoWhileStatementTree tree)
visitDoWhileStatement
in interface TreeVisitor
visitDoWhileStatement
in class BaseTreeVisitor
public void visitIfStatement(IfStatementTree tree)
visitIfStatement
in interface TreeVisitor
visitIfStatement
in class BaseTreeVisitor
public void visitConditionalExpression(ConditionalExpressionTree tree)
visitConditionalExpression
in interface TreeVisitor
visitConditionalExpression
in class BaseTreeVisitor
public void visitBinaryExpression(BinaryExpressionTree tree)
visitBinaryExpression
in interface TreeVisitor
visitBinaryExpression
in class BaseTreeVisitor
Copyright © 2012–2017 SonarSource. All rights reserved.