Class DefaultCallResolver

java.lang.Object
sootup.callgraph.scope.DefaultCallResolver
All Implemented Interfaces:
CallResolver
Direct Known Subclasses:
ExcludedCallsCollectingCallResolver

public class DefaultCallResolver extends Object implements CallResolver
The default CallResolver: excludes calls originating from library classes.
  • Constructor Details

    • DefaultCallResolver

      public DefaultCallResolver(@NonNull View view)
  • Method Details

    • tryAdvanceMethod

      public @NonNull CallFilter tryAdvanceMethod(@NonNull SootMethod method)
      Excludes the calls of library methods as a whole, so that their bodies are not loaded.
      Specified by:
      tryAdvanceMethod in interface CallResolver
      Parameters:
      method - the method whose calls are about to be resolved
      Returns:
      the calls to resolve; with CallFilter.none() the body of caller is not loaded