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, visitWildcardpublic void visitMethod(MethodTree tree)
visitMethod in interface TreeVisitorvisitMethod in class BaseTreeVisitorpublic void visitClass(ClassTree tree)
visitClass in interface TreeVisitorvisitClass in class BaseTreeVisitorpublic void visitLambdaExpression(LambdaExpressionTree lambdaExpressionTree)
visitLambdaExpression in interface TreeVisitorvisitLambdaExpression in class BaseTreeVisitorpublic void visitCaseLabel(CaseLabelTree tree)
visitCaseLabel in interface TreeVisitorvisitCaseLabel in class BaseTreeVisitorpublic void visitForEachStatement(ForEachStatement tree)
visitForEachStatement in interface TreeVisitorvisitForEachStatement in class BaseTreeVisitorpublic void visitForStatement(ForStatementTree tree)
visitForStatement in interface TreeVisitorvisitForStatement in class BaseTreeVisitorpublic void visitWhileStatement(WhileStatementTree tree)
visitWhileStatement in interface TreeVisitorvisitWhileStatement in class BaseTreeVisitorpublic void visitDoWhileStatement(DoWhileStatementTree tree)
visitDoWhileStatement in interface TreeVisitorvisitDoWhileStatement in class BaseTreeVisitorpublic void visitIfStatement(IfStatementTree tree)
visitIfStatement in interface TreeVisitorvisitIfStatement in class BaseTreeVisitorpublic void visitConditionalExpression(ConditionalExpressionTree tree)
visitConditionalExpression in interface TreeVisitorvisitConditionalExpression in class BaseTreeVisitorpublic void visitBinaryExpression(BinaryExpressionTree tree)
visitBinaryExpression in interface TreeVisitorvisitBinaryExpression in class BaseTreeVisitorCopyright © 2012–2017 SonarSource. All rights reserved.