MCPcopy Create free account
hub / github.com/LFYSec/MScan / getCaseValues

Method getCaseValues

src/main/java/pascal/taie/ir/stmt/SwitchStmt.java:96–96  ·  view source on GitHub ↗

@return all case values of the switch statement. For example, for switch statement switch (x) { case 1: a = 1; break; case 3: a = 3; break; default: a = 0; break; } This API would return [1, 3].

()

Source from the content-addressed store, hash-verified

94 * This API would return [1, 3].
95 */
96 public abstract List<Integer> getCaseValues();
97
98 /**
99 * @return pairs of case value and the corresponding jump target.

Callers 1

isUnreachableBranchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected