public class DeadStoreCheck extends DoubleDispatchVisitorCheck
| Constructor and Description |
|---|
DeadStoreCheck() |
| Modifier and Type | Method and Description |
|---|---|
static Symbol |
symbol(Usage usage) |
void |
visitArrowFunction(ArrowFunctionTree tree) |
void |
visitFunctionDeclaration(FunctionDeclarationTree tree) |
void |
visitFunctionExpression(FunctionExpressionTree tree) |
void |
visitMethodDeclaration(MethodDeclarationTree tree) |
addIssue, addIssue, addLineIssue, scanFilegetContext, scan, scan, scanTree, visitArrayBindingPattern, visitArrayLiteral, visitAssignmentExpression, visitBinaryExpression, visitBindingProperty, visitBlock, visitBreakStatement, visitCallExpression, visitCaseClause, visitCatchBlock, visitClass, visitComputedPropertyName, visitConditionalExpression, visitContinueStatement, visitDebugger, visitDefaultClause, visitDefaultExportDeclaration, visitDoWhileStatement, visitElseClause, visitEmptyStatement, visitExportClause, visitExpressionStatement, visitForObjectStatement, visitForStatement, visitFromClause, visitIdentifier, visitIfStatement, visitImportClause, visitImportDeclaration, visitImportModuleDeclaration, visitInitializedBindingElement, visitLabelledStatement, visitLiteral, visitMemberExpression, visitModule, visitNamedExportDeclaration, visitNameSpaceExportDeclaration, visitNewExpression, visitObjectBindingPattern, visitObjectLiteral, visitPairProperty, visitParameterList, visitParenthesisedExpression, visitRestElement, visitReturnStatement, visitScript, visitSpecifier, visitSpecifierList, visitSuper, visitSwitchStatement, visitTaggedTemplate, visitTemplateCharacters, visitTemplateExpression, visitTemplateLiteral, visitThrowStatement, visitTryStatement, visitUnaryExpression, visitVariableDeclaration, visitVariableStatement, visitWhileStatement, visitWithStatement, visitYieldExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextpublic void visitFunctionDeclaration(FunctionDeclarationTree tree)
visitFunctionDeclaration in class DoubleDispatchVisitorpublic void visitFunctionExpression(FunctionExpressionTree tree)
visitFunctionExpression in class DoubleDispatchVisitorpublic void visitMethodDeclaration(MethodDeclarationTree tree)
visitMethodDeclaration in class DoubleDispatchVisitorpublic void visitArrowFunction(ArrowFunctionTree tree)
visitArrowFunction in class DoubleDispatchVisitor@CheckForNull public static Symbol symbol(Usage usage)
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.