transition.destinationState());
units.add(Jimple.v().newAssignStmt(nextStateLocal,
IntConstant.v(nextStateIndex)));
// Generate code for the outputExpression of the guard.
for (Iterator actions = transition.choiceActionList()
.iterator(); actions.hasNext();) {
AbstractActionsAttribute action = (AbstractActionsAttribute) actions
.next();
System.out.println("action = " + action);
_generateActionCode(entity, entityInstanceClass,