JavaCheck
, JavaFileScanner
public class SymbolicExecutionVisitor extends SubscriptionVisitor
Modifier and Type | Field | Description |
---|---|---|
BehaviorCache |
behaviorCache |
context
Constructor | Description |
---|---|
SymbolicExecutionVisitor(List<JavaFileScanner> executableScanners,
BehaviorCache behaviorCache) |
Modifier and Type | Method | 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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–2018 SonarSource. All rights reserved.