String (@NotNull @NonNls String templateName) { for(InternalTemplateBean bean: InternalTemplateBean.EP_NAME.getExtensionList()) { if (bean.name.equals(templateName) && bean.subject != null) { return bean.subject; } } return Strings.toLowerCase(templateName); }