void (@NotNull PostfixTemplate template, @NotNull Element parentElement) { if (template instanceof JavaEditablePostfixTemplate) { LanguageLevel languageLevel = ((JavaEditablePostfixTemplate)template).getMinimumLanguageLevel(); parentElement.setAttribute(LANGUAGE_LEVEL_ATTR, JpsJavaSdkType.complianceOption(languageLevel.toJavaVersion())); PostfixTemplatesUtils.writeExternalTemplate(template, parentElement); } }