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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.sonar.java.se.checks.SECheck
SECheck.SEIssue -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckEndOfExecutionPath(CheckerContext context, ConstraintManager constraintManager) checkPostStatement(CheckerContext context, Tree syntaxNode) checkPreStatement(CheckerContext context, Tree syntaxNode) Methods inherited from class org.sonar.java.se.checks.SECheck
checkEndOfExecution, init, interruptedExecution, reportIssue, reportIssue, scanFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonar.plugins.java.api.JavaFileScanner
scanWithoutParsing
-
Constructor Details
-
OptionalGetBeforeIsPresentCheck
public OptionalGetBeforeIsPresentCheck()
-
-
Method Details
-
checkPreStatement
- Overrides:
checkPreStatementin classSECheck
-
checkPostStatement
- Overrides:
checkPostStatementin classSECheck
-
checkEndOfExecutionPath
- Overrides:
checkEndOfExecutionPathin classSECheck
-