if (strings.length == 2) annotationTypeMap.addTypeMapping(strings[0], strings[1]);
}
}
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;