Package org.sonar.java.se.checks
Class CustomUnclosedResourcesCheck
java.lang.Object
org.sonar.java.se.checks.SECheck
org.sonar.java.se.checks.CustomUnclosedResourcesCheck
- All Implemented Interfaces:
JavaCheck,JavaFileScanner
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.sonar.java.se.checks.SECheck
SECheck.SEIssue -
Field Summary
FieldsModifier and TypeFieldDescription -
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
-
Field Details
-
constructor
-
factoryMethod
-
openingMethod
-
closingMethod
-
-
Constructor Details
-
CustomUnclosedResourcesCheck
public CustomUnclosedResourcesCheck()
-
-
Method Details
-
checkPreStatement
- Overrides:
checkPreStatementin classSECheck
-
checkPostStatement
- Overrides:
checkPostStatementin classSECheck
-
checkEndOfExecutionPath
- Overrides:
checkEndOfExecutionPathin classSECheck
-