public class ExcessiveParameterListCheck extends DoubleDispatchVisitorCheck
| Constructor and Description |
|---|
ExcessiveParameterListCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
setMaximumFunctionParameters(int threshold) |
void |
visitArrowFunction(ArrowFunctionTree tree) |
void |
visitFunctionDeclaration(FunctionDeclarationTree tree) |
void |
visitFunctionExpression(FunctionExpressionTree tree) |
void |
visitMethodDeclaration(MethodDeclarationTree tree) |
addIssue, addIssue, addLineIssue, scanFilegetContext, scan, scan, scanChildren, scanTree, visitArrayBindingPattern, visitArrayLiteral, visitAssignmentExpression, visitBinaryExpression, visitBindingProperty, visitBlock, visitBreakStatement, visitCallExpression, visitCaseClause, visitCatchBlock, visitClass, visitComment, visitComputedPropertyName, visitConditionalExpression, visitContinueStatement, visitDebugger, visitDefaultClause, visitDefaultExportDeclaration, visitDoWhileStatement, visitElseClause, visitEmptyStatement, visitExportClause, visitExportDefaultBinding, visitExportDefaultBindingWithExportList, visitExportDefaultBindingWithNameSpaceExport, visitExpressionStatement, visitFieldDeclaration, visitForObjectStatement, visitForStatement, visitFromClause, visitIdentifier, visitIfStatement, visitImportClause, visitImportDeclaration, visitImportModuleDeclaration, visitInitializedBindingElement, visitJsxClosingElement, visitJsxIdentifier, visitJsxJavaScriptExpression, visitJsxOpeningElement, visitJsxSelfClosingElement, visitJsxSpreadAttribute, visitJsxStandardAttribute, visitJsxStandardElement, visitJsxText, visitLabelledStatement, visitLiteral, visitMemberExpression, visitModule, visitNamedExportDeclaration, visitNameSpaceExportDeclaration, visitNewExpression, visitNewTarget, visitObjectBindingPattern, visitObjectLiteral, visitPairProperty, visitParameterList, visitParenthesisedExpression, visitRestElement, visitReturnStatement, visitScript, visitSpecifier, visitSpecifierList, visitSpreadElement, visitSuper, visitSwitchStatement, visitTaggedTemplate, visitTemplateCharacters, visitTemplateExpression, visitTemplateLiteral, visitThrowStatement, visitToken, visitTryStatement, visitUnaryExpression, visitVariableDeclaration, visitVariableStatement, visitWhileStatement, visitWithStatement, visitYieldExpressionpublic void visitMethodDeclaration(MethodDeclarationTree tree)
visitMethodDeclaration in class DoubleDispatchVisitorpublic void visitFunctionDeclaration(FunctionDeclarationTree tree)
visitFunctionDeclaration in class DoubleDispatchVisitorpublic void visitFunctionExpression(FunctionExpressionTree tree)
visitFunctionExpression in class DoubleDispatchVisitorpublic void visitArrowFunction(ArrowFunctionTree tree)
visitArrowFunction in class DoubleDispatchVisitorpublic void setMaximumFunctionParameters(int threshold)
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.