Transition transition = (Transition) transitions.next();
Stmt startStmt = (Stmt) transitionToStartStmt.get(transition);
units.add(startStmt);
// Generate code for the commitExpression of the guard.
for (Iterator actions = transition.commitActionList()
.iterator(); actions.hasNext();) {
AbstractActionsAttribute action = (AbstractActionsAttribute) actions
.next();
_generateActionCode(entity, entityInstanceClass,
nameToField, nameToType, body, action);