public class ConditionalUnreachableCodeCheck extends AbstractAlwaysTrueOrFalseConditionCheck
| Constructor and Description |
|---|
ConditionalUnreachableCodeCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
conditionWithDeadCode(Tree condition,
boolean isTruthy,
Set<Tree> deadCode)
Implement this to react (raise an issue, update a metric...) to dead code
|
checkConditions, redundantCondition, startOfExecutionaddIssue, addIssue, addLineIssue, afterBlockElement, beforeBlockElement, cleanupAndStartFileAnalysis, endOfExecution, endOfFile, getContext, scanFile, setContext, startOfFile, toStringprotected void conditionWithDeadCode(Tree condition, boolean isTruthy, Set<Tree> deadCode)
AbstractAlwaysTrueOrFalseConditionCheckconditionWithDeadCode in class AbstractAlwaysTrueOrFalseConditionCheckCopyright © 2011–2018 SonarSource and Eriks Nukis. All rights reserved.