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 voidcheckEndOfExecutionPath(CheckerContext context, ConstraintManager constraintManager)ProgramStatecheckPostStatement(CheckerContext context, Tree syntaxNode)ProgramStatecheckPreStatement(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:
checkPreStatementin classSECheck
-
checkPostStatement
public ProgramState checkPostStatement(CheckerContext context, Tree syntaxNode)
- Overrides:
checkPostStatementin classSECheck
-
checkEndOfExecutionPath
public void checkEndOfExecutionPath(CheckerContext context, ConstraintManager constraintManager)
- Overrides:
checkEndOfExecutionPathin classSECheck
-
-