Package org.sonar.java.se.checks
Class UnclosedResourcesCheck
java.lang.Object
org.sonar.java.se.checks.SECheck
org.sonar.java.se.checks.UnclosedResourcesCheck
- 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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckEndOfExecutionPath(CheckerContext context, ConstraintManager constraintManager) checkPostStatement(CheckerContext context, Tree syntaxNode) checkPreStatement(CheckerContext context, Tree syntaxNode) voidinit(MethodTree methodTree, CFG cfg) voidscanFile(JavaFileScannerContext context) Methods inherited from class org.sonar.java.se.checks.SECheck
checkEndOfExecution, interruptedExecution, reportIssue, reportIssueMethods 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
-
excludedTypes
-
-
Constructor Details
-
UnclosedResourcesCheck
public UnclosedResourcesCheck()
-
-
Method Details
-
scanFile
- Specified by:
scanFilein interfaceJavaFileScanner- Overrides:
scanFilein classSECheck
-
init
-
checkPreStatement
- Overrides:
checkPreStatementin classSECheck
-
checkPostStatement
- Overrides:
checkPostStatementin classSECheck
-
checkEndOfExecutionPath
- Overrides:
checkEndOfExecutionPathin classSECheck
-