public ASTSwitchNode( SETNodeLabel label, Value key, List<Object> indexList, Map<Object, List<Object>> index2BodyList) { super(label); this.keyBox = Jimple.v().newRValueBox(key); this.indexList = indexList; this.index2BodyList = index2BodyList; Iterator<Object> it = indexList.iterator(); while (it.hasNext()) { List body = index2BodyList.get(it.next()); if (body != null) subBodies.add(body); } }
public void set_Key(Value key) { this.keyBox = Jimple.v().newRValueBox(key); }