Package org.sonar.java.se.checks
Class OptionalGetBeforeIsPresentCheck
- java.lang.Object
-
- org.sonar.java.se.checks.SECheck
-
- org.sonar.java.se.checks.OptionalGetBeforeIsPresentCheck
-
- All Implemented Interfaces:
JavaCheck
,JavaFileScanner
public class OptionalGetBeforeIsPresentCheck extends SECheck
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sonar.java.se.checks.SECheck
SECheck.SEIssue
-
-
Constructor Summary
Constructors Constructor Description OptionalGetBeforeIsPresentCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkEndOfExecutionPath(CheckerContext context, ConstraintManager constraintManager)
ProgramState
checkPostStatement(CheckerContext context, Tree syntaxNode)
ProgramState
checkPreStatement(CheckerContext context, Tree syntaxNode)
-
Methods inherited from class org.sonar.java.se.checks.SECheck
checkEndOfExecution, init, interruptedExecution, reportIssue, reportIssue, scanFile
-
-
-
-
Method Detail
-
checkPreStatement
public ProgramState checkPreStatement(CheckerContext context, Tree syntaxNode)
- Overrides:
checkPreStatement
in classSECheck
-
checkPostStatement
public ProgramState checkPostStatement(CheckerContext context, Tree syntaxNode)
- Overrides:
checkPostStatement
in classSECheck
-
checkEndOfExecutionPath
public void checkEndOfExecutionPath(CheckerContext context, ConstraintManager constraintManager)
- Overrides:
checkEndOfExecutionPath
in classSECheck
-
-