SModule cmd = ((SModule) MapSequence.fromMap(_params).get("cmodule"));
if (cmd instanceof Generator) {
cmd = ((Generator) cmd).getSourceLanguage();
}
List<SModule> rv = ListSequence.fromList(new ArrayList<SModule>());
<BUG>if (cmd != null) {
ListSequence.fromList(rv).insertElement(0, cmd);
} else if (((List<SModule>) MapSequence.fromMap(_params).get("modules")) != null) {
ListSequence.fromList(rv).addSequence(ListSequence.fromList(((List<SModule>) MapSequence.fromMap(_params).get("modules"))));
}</BUG>
return rv;

SModule cmd = ((SModule) MapSequence.fromMap(_params).get("cmodule"));
if (cmd instanceof Generator) {
cmd = ((Generator) cmd).getSourceLanguage();
}
List<SModule> rv = ListSequence.fromList(new ArrayList<SModule>());
if (((List<SModule>) MapSequence.fromMap(_params).get("modules")) != null) {
ListSequence.fromList(rv).addSequence(ListSequence.fromList(((List<SModule>) MapSequence.fromMap(_params).get("modules"))));
}
if (cmd != null && !(ListSequence.fromList(rv).contains(cmd))) {
ListSequence.fromList(rv).addElement(cmd);
}
