Enum Class ExplorationVerdict

java.lang.Object
java.lang.Enum<ExplorationVerdict>
sootup.callgraph.scope.ExplorationVerdict
All Implemented Interfaces:
Serializable, Comparable<ExplorationVerdict>, Constable

public enum ExplorationVerdict extends Enum<ExplorationVerdict>
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.

  • Enum Constant Details

  • Method Details

    • values

      public static ExplorationVerdict[] 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

      public static ExplorationVerdict valueOf(String name)
      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 name
      NullPointerException - if the argument is null