public class ConditionAlwaysTrueOrFalseCheck extends SECheck
| Constructor and Description |
|---|
ConditionAlwaysTrueOrFalseCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkEndOfExecution(CheckerContext context) |
void |
evaluatedToFalse(Tree condition) |
void |
evaluatedToTrue(Tree condition) |
void |
init(MethodTree methodTree,
CFG cfg) |
checkEndOfExecutionPath, checkPostStatement, checkPreStatement, reportIssue, scanFilepublic void init(MethodTree methodTree, CFG cfg)
public void checkEndOfExecution(CheckerContext context)
checkEndOfExecution in class SECheckpublic void evaluatedToFalse(Tree condition)
public void evaluatedToTrue(Tree condition)
Copyright © 2012–2016 SonarSource. All rights reserved.