public class CustomUnclosedResourcesCheck extends SECheck
Modifier and Type | Field and Description |
---|---|
String |
closingMethod |
String |
constructor |
String |
factoryMethod |
String |
openingMethod |
Constructor and Description |
---|
CustomUnclosedResourcesCheck() |
Modifier and Type | Method and Description |
---|---|
void |
checkEndOfExecutionPath(CheckerContext context,
ConstraintManager constraintManager) |
ProgramState |
checkPostStatement(CheckerContext context,
Tree syntaxNode) |
ProgramState |
checkPreStatement(CheckerContext context,
Tree syntaxNode) |
checkEndOfExecution, init, reportIssue, scanFile
public String constructor
public String factoryMethod
public String openingMethod
public String closingMethod
public ProgramState checkPreStatement(CheckerContext context, Tree syntaxNode)
checkPreStatement
in class SECheck
public ProgramState checkPostStatement(CheckerContext context, Tree syntaxNode)
checkPostStatement
in class SECheck
public void checkEndOfExecutionPath(CheckerContext context, ConstraintManager constraintManager)
checkEndOfExecutionPath
in class SECheck
Copyright © 2012–2016 SonarSource. All rights reserved.