void (@Nullable PostfixTemplate template) { super.setTemplate(template); if (template instanceof JavaEditablePostfixTemplate javaTemplate) { myLanguageLevelCombo.setSelectedItem(javaTemplate.getMinimumLanguageLevel()); myStaticImportCheckBox.setSelected(javaTemplate.getLiveTemplate().getValue(Template.Property.USE_STATIC_IMPORT_IF_POSSIBLE)); } }