public class RedundantAssignmentsCheck extends SECheck
SECheck.SEIssue| Constructor and Description |
|---|
RedundantAssignmentsCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkEndOfExecution(CheckerContext context) |
ProgramState |
checkPostStatement(CheckerContext context,
Tree syntaxNode) |
void |
init(MethodTree methodTree,
CFG cfg) |
void |
interruptedExecution(CheckerContext context) |
void |
scanFile(JavaFileScannerContext context)
Method called after parsing and semantic analysis has been done on file.
|
checkEndOfExecutionPath, checkPreStatement, reportIssue, reportIssuepublic void scanFile(JavaFileScannerContext context)
JavaFileScannerscanFile in interface JavaFileScannerscanFile in class SECheckcontext - Context of analysis containing the parsed tree.public void init(MethodTree methodTree, CFG cfg)
public ProgramState checkPostStatement(CheckerContext context, Tree syntaxNode)
checkPostStatement in class SECheckpublic void interruptedExecution(CheckerContext context)
interruptedExecution in class SECheckpublic void checkEndOfExecution(CheckerContext context)
checkEndOfExecution in class SECheckCopyright © 2012–2018 SonarSource. All rights reserved.