public abstract class SECheck extends Object implements JavaFileScanner
| Constructor and Description |
|---|
SECheck() |
public void init(MethodTree methodTree, CFG cfg)
public ProgramState checkPreStatement(CheckerContext context, Tree syntaxNode)
public ProgramState checkPostStatement(CheckerContext context, Tree syntaxNode)
public void checkEndOfExecution(CheckerContext context)
public void checkEndOfExecutionPath(CheckerContext context, ConstraintManager constraintManager)
public void scanFile(JavaFileScannerContext context)
JavaFileScannerscanFile in interface JavaFileScannercontext - Context of analysis containing the parsed tree.public void reportIssue(Tree tree, String message, Set<List<JavaFileScannerContext.Location>> flows)
public static List<JavaFileScannerContext.Location> flow(ExplodedGraph.Node currentNode, SymbolicValue currentVal)
public static List<JavaFileScannerContext.Location> flow(ExplodedGraph.Node currentNode, SymbolicValue currentVal, Predicate<Constraint> addToFlow)
public static List<JavaFileScannerContext.Location> flow(ExplodedGraph.Node currentNode, SymbolicValue currentVal, Predicate<Constraint> addToFlow, Predicate<Constraint> terminateTraversal)
public void interruptedExecution(CheckerContext context)
Copyright © 2012–2016 SonarSource. All rights reserved.