// Get the current transition..
units.add(Jimple.v().newTableSwitchStmt(nextTransitionLocal, 0,
numberOfTransitions - 1, transitionStmtList, errorStmt));
// Generate code for each transition
for (Iterator transitions = entity.relationList().iterator(); transitions
.hasNext();) {
Transition transition = (Transition) transitions.next();
Stmt startStmt = (Stmt) transitionToStartStmt.get(transition);
units.add(startStmt);