Package org.sonar.java.se.checks
Class StreamConsumedCheck
- java.lang.Object
-
- org.sonar.java.se.checks.SECheck
-
- org.sonar.java.se.checks.StreamConsumedCheck
-
- All Implemented Interfaces:
JavaCheck
,JavaFileScanner
public class StreamConsumedCheck extends SECheck
Note thatStreamNotConsumedCheck
is implemented by using constraints set by this check
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StreamConsumedCheck.StreamPipelineConstraint
-
Nested classes/interfaces inherited from class org.sonar.java.se.checks.SECheck
SECheck.SEIssue
-
-
Constructor Summary
Constructors Constructor Description StreamConsumedCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProgramState
checkPostStatement(CheckerContext context, Tree syntaxNode)
ProgramState
checkPreStatement(CheckerContext context, Tree syntaxNode)
-
Methods inherited from class org.sonar.java.se.checks.SECheck
checkEndOfExecution, checkEndOfExecutionPath, init, interruptedExecution, reportIssue, reportIssue, scanFile
-
-
-
-
Method Detail
-
checkPreStatement
public ProgramState checkPreStatement(CheckerContext context, Tree syntaxNode)
- Overrides:
checkPreStatement
in classSECheck
-
checkPostStatement
public ProgramState checkPostStatement(CheckerContext context, Tree syntaxNode)
- Overrides:
checkPostStatement
in classSECheck
-
-