JavaCheck, JavaFileScannerpublic class UnclosedResourcesCheck extends SECheck
| Modifier and Type | Class | Description |
|---|---|---|
static class |
UnclosedResourcesCheck.ResourceConstraint |
SECheck.SEIssue| Modifier and Type | Field | Description |
|---|---|---|
String |
excludedTypes |
| Constructor | Description |
|---|---|
UnclosedResourcesCheck() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkEndOfExecutionPath(CheckerContext context,
ConstraintManager constraintManager) |
|
ProgramState |
checkPostStatement(CheckerContext context,
Tree syntaxNode) |
|
ProgramState |
checkPreStatement(CheckerContext context,
Tree syntaxNode) |
|
void |
init(MethodTree methodTree,
CFG cfg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckEndOfExecution, interruptedExecution, reportIssue, reportIssue, scanFilepublic String excludedTypes
public void init(MethodTree methodTree, CFG cfg)
public ProgramState checkPreStatement(CheckerContext context, Tree syntaxNode)
checkPreStatement in class SECheckpublic ProgramState checkPostStatement(CheckerContext context, Tree syntaxNode)
checkPostStatement in class SECheckpublic void checkEndOfExecutionPath(CheckerContext context, ConstraintManager constraintManager)
checkEndOfExecutionPath in class SECheckCopyright © 2012–2018 SonarSource. All rights reserved.