Package sootup.callgraph.scope
Class CallFilter
java.lang.Object
sootup.callgraph.scope.CallFilter
The calls of a method that a
CallResolver lets the call graph algorithm resolve: all(), none() or those of the statements accepted by a predicate (of(java.util.function.Predicate<sootup.core.jimple.common.stmt.InvokableStmt>)). Only
none() lets the algorithm skip the method without loading its body.-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull CallFilterall()Resolves the calls of every statement.static @NonNull CallFilternone()Resolves no call; the body of the method is not loaded.static @NonNull CallFilterof(@NonNull Predicate<InvokableStmt> resolvesStatement) Resolves the calls of the statements accepted byresolvesStatement, which is asked once per invokable statement of the loaded body.booleanresolves(@NonNull InvokableStmt statement) Whether the calls ofstatementare resolved.booleanWhether no call of the method is resolved, so that its body need not be loaded.
-
Method Details
-
all
Resolves the calls of every statement. -
none
Resolves no call; the body of the method is not loaded. -
of
Resolves the calls of the statements accepted byresolvesStatement, which is asked once per invokable statement of the loaded body. -
resolvesNone
public boolean resolvesNone()Whether no call of the method is resolved, so that its body need not be loaded. -
resolves
Whether the calls ofstatementare resolved.
-