Package sootup.callgraph.scope
Class DefaultCallResolver
java.lang.Object
sootup.callgraph.scope.DefaultCallResolver
- All Implemented Interfaces:
CallResolver
- Direct Known Subclasses:
ExcludedCallsCollectingCallResolver
The default
CallResolver: excludes calls originating from library classes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontryAdvance(@NonNull SootMethod method, @NonNull InvokableStmt statement) Decides whether the call(s) triggered bystatementincallershould be resolved and expanded at all.
-
Constructor Details
-
DefaultCallResolver
-
-
Method Details
-
tryAdvance
Description copied from interface:CallResolverDecides whether the call(s) triggered bystatementincallershould be resolved and expanded at all.- Specified by:
tryAdvancein interfaceCallResolver- Parameters:
method- the source (caller) methodstatement- the invokable statement causing the call- Returns:
- the verdict for this statement; only
ExplorationVerdict.EXPLORE_METHODvs. non-ExplorationVerdict.EXPLORE_METHODis significant here
-