public class LockedVisitor extends SymbolicExecutionCheck
| Constructor and Description |
|---|
LockedVisitor() |
| Modifier and Type | Method and Description |
|---|---|
Set<Tree> |
getIssueTrees() |
void |
initialize(ExecutionState executionState,
MethodTree analyzedMethod,
List<SymbolicValue> arguments)
called prior analysis of the given method.
|
protected void |
onExecutableElementInvocation(ExecutionState executionState,
Tree tree,
List<ExpressionTree> arguments)
called when a constructor or method is invoked.
|
protected void |
onValueUnreachable(ExecutionState executionState,
State state)
called when a value becomes unreachable.
|
onAssignment, onTryResourceClosed, onValueReturnedpublic void initialize(ExecutionState executionState, MethodTree analyzedMethod, List<SymbolicValue> arguments)
SymbolicExecutionCheckinitialize in class SymbolicExecutionCheckexecutionState - execution stateanalyzedMethod - method to be analyzedarguments - value of the argumentsprotected void onExecutableElementInvocation(ExecutionState executionState, Tree tree, List<ExpressionTree> arguments)
SymbolicExecutionCheckonExecutableElementInvocation in class SymbolicExecutionCheckexecutionState - execution statetree - method invocation, constructor tree or new class treeprotected void onValueUnreachable(ExecutionState executionState, State state)
SymbolicExecutionCheckonValueUnreachable in class SymbolicExecutionCheckexecutionState - execution statestate - of the value when it became unreachableCopyright © 2012–2015 SonarSource. All rights reserved.