public class SymbolicExecutionVisitor extends SubscriptionVisitor
Modifier and Type | Field and Description |
---|---|
BehaviorCache |
behaviorCache |
context
Constructor and Description |
---|
SymbolicExecutionVisitor(List<JavaFileScanner> executableScanners,
BehaviorCache behaviorCache) |
Modifier and Type | Method and Description |
---|---|
void |
execute(MethodTree methodTree) |
protected ExplodedGraphWalker |
getWalker() |
static boolean |
methodCanNotBeOverriden(Symbol.MethodSymbol methodSymbol) |
List<Tree.Kind> |
nodesToVisit() |
void |
scanFile(JavaFileScannerContext context)
Method called after parsing and semantic analysis has been done on file.
|
void |
visitNode(Tree tree) |
hasSemantic, leaveNode, scanTree, visitToken, visitTrivia
public BehaviorCache behaviorCache
public SymbolicExecutionVisitor(List<JavaFileScanner> executableScanners, BehaviorCache behaviorCache)
public void scanFile(JavaFileScannerContext context)
JavaFileScanner
scanFile
in interface JavaFileScanner
scanFile
in class SubscriptionVisitor
context
- Context of analysis containing the parsed tree.public List<Tree.Kind> nodesToVisit()
nodesToVisit
in class SubscriptionVisitor
public void visitNode(Tree tree)
visitNode
in class SubscriptionVisitor
public void execute(MethodTree methodTree)
protected ExplodedGraphWalker getWalker()
public static boolean methodCanNotBeOverriden(Symbol.MethodSymbol methodSymbol)
Copyright © 2012–2017 SonarSource. All rights reserved.