Package org.sonar.java.se.checks
Class MapComputeIfAbsentOrPresentCheck
java.lang.Object
org.sonar.java.se.checks.SECheck
org.sonar.java.se.checks.MapComputeIfAbsentOrPresentCheck
- All Implemented Interfaces:
JavaVersionAwareVisitor,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 TypeMethodDescriptionvoidcheckEndOfExecution(CheckerContext context) checkPostStatement(CheckerContext context, Tree syntaxNode) checkPreStatement(CheckerContext context, Tree syntaxNode) voidinit(MethodTree methodTree, CFG cfg) booleanisCompatibleWithJavaVersion(JavaVersion version) Methods inherited from class org.sonar.java.se.checks.SECheck
checkEndOfExecutionPath, 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
-
MapComputeIfAbsentOrPresentCheck
public MapComputeIfAbsentOrPresentCheck()
-
-
Method Details
-
isCompatibleWithJavaVersion
- Specified by:
isCompatibleWithJavaVersionin interfaceJavaVersionAwareVisitor
-
init
-
checkPostStatement
- Overrides:
checkPostStatementin classSECheck
-
checkPreStatement
- Overrides:
checkPreStatementin classSECheck
-
checkEndOfExecution
- Overrides:
checkEndOfExecutionin classSECheck
-