Package sootup.callgraph.scope
Enum Class ExplorationVerdict
- All Implemented Interfaces:
Serializable,Comparable<ExplorationVerdict>,Constable
The verdict returned by
CallResolver.tryAdvance(sootup.core.model.SootMethod, sootup.core.jimple.common.stmt.InvokableStmt) and VirtualCallResolver.tryAdvanceCall(sootup.core.model.SootMethod, sootup.core.signatures.MethodSignature, sootup.core.jimple.common.stmt.InvokableStmt) to control call graph expansion.
At the CallResolver checkpoint only EXPLORE_METHOD vs. non-EXPLORE_METHOD matters: STOP_AFTER_CALL and STOP are equivalent there, since
no specific callee is known yet. At the VirtualCallResolver checkpoint all three verdicts
are distinct: EXPLORE_METHOD admits the edge and expands the callee, STOP_AFTER_CALL admits the edge but does not expand the callee via this edge, and STOP
drops the edge entirely.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ExplorationVerdictReturns the enum constant of this class with the specified name.static ExplorationVerdict[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXPLORE_METHOD
-
STOP_AFTER_CALL
-
STOP
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-