}
if ("actionscript".equals(generator)) {
return new AsGenerator(destination, namespace, enumAnnotation, typeMap, annotationTypeMap, annotationMap);
} else if ("cs".equals(generator)) {
return new VelocityGenerator(destination, namespace, "cs", enumAnnotation, typeMap, annotationTypeMap, annotationMap);
}
return null;
}