public class CheckerDispatcher extends Object implements CheckerContext
| Constructor and Description |
|---|
CheckerDispatcher(ExplodedGraphWalker explodedGraphWalker,
List<SECheck> checks) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExceptionalYield(SymbolicValue target,
ProgramState exceptionalState,
String exceptionFullyQualifiedName,
SECheck check) |
void |
addTransition(ProgramState state) |
Object |
createSink() |
void |
executeCheckEndOfExecution() |
void |
executeCheckEndOfExecutionPath(ConstraintManager constraintManager) |
void |
executeCheckPostStatement(Tree syntaxNode) |
boolean |
executeCheckPreStatement(Tree syntaxNode) |
ConstraintManager |
getConstraintManager() |
ExplodedGraph.Node |
getNode() |
ProgramState |
getState() |
void |
init(MethodTree methodTree,
CFG cfg) |
void |
interruptedExecution() |
void |
reportIssue(Tree tree,
SECheck check,
String message) |
void |
reportIssue(Tree tree,
SECheck check,
String message,
Set<List<JavaFileScannerContext.Location>> flows) |
public CheckerDispatcher(ExplodedGraphWalker explodedGraphWalker, List<SECheck> checks)
public boolean executeCheckPreStatement(Tree syntaxNode)
public void executeCheckPostStatement(Tree syntaxNode)
public ProgramState getState()
getState in interface CheckerContextpublic ExplodedGraph.Node getNode()
getNode in interface CheckerContextpublic void reportIssue(Tree tree, SECheck check, String message)
reportIssue in interface CheckerContextpublic void reportIssue(Tree tree, SECheck check, String message, Set<List<JavaFileScannerContext.Location>> flows)
reportIssue in interface CheckerContextpublic void addTransition(ProgramState state)
addTransition in interface CheckerContextpublic void addExceptionalYield(SymbolicValue target, ProgramState exceptionalState, String exceptionFullyQualifiedName, SECheck check)
addExceptionalYield in interface CheckerContextpublic Object createSink()
createSink in interface CheckerContextpublic void executeCheckEndOfExecution()
public void executeCheckEndOfExecutionPath(ConstraintManager constraintManager)
public void init(MethodTree methodTree, CFG cfg)
public ConstraintManager getConstraintManager()
getConstraintManager in interface CheckerContextpublic void interruptedExecution()
Copyright © 2012–2017 SonarSource. All rights reserved.