}
if (Languages.ACTIONSCRIPT.equals(generator)) {
return new AsGenerator(destination, namespace, enumAnnotation, typeMap, annotationTypeMap, annotationMap);
} else if (Languages.CSHARP.equals(generator) || Languages.JAVA.equals(generator)) {
return new TemplateGenerator(destination, namespace, generator, enumAnnotation, typeMap, annotationTypeMap, annotationMap);
}
return null;
}