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

Method getCaseTargets

src/main/java/pascal/taie/ir/stmt/TableSwitch.java:58–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }
57
58 @Override
59 public List<Pair<Integer, Stmt>> getCaseTargets() {
60 return IntStream.range(lowIndex, highIndex + 1)
61 .mapToObj(i -> new Pair<>(i,
62 targets == null ? null : targets.get(i - lowIndex)))
63 .toList();
64 }
65
66 @Override
67 public <T> T accept(StmtVisitor<T> visitor) {

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected