private static String extractExtension(String templateName) {
    if (GroovyTemplates.GROOVY_DSL_SCRIPT.equals(templateName)) {
      return GdslFileType.INSTANCE.getDefaultExtension();
    }
    return GroovyFileType.DEFAULT_EXTENSION;
  }
private static String extractExtension(String templateName)