String (String propertyKey, String propertyValue, String paramsString) { I18nizedTextGenerator textGenerator = myResourceBundleManager.getI18nizedTextGenerator(); if (textGenerator != null) { return textGenerator.getI18nizedConcatenationText(propertyKey, paramsString, getPropertiesFile(), null); } String templateName = paramsString.isEmpty() ? myResourceBundleManager.getTemplateName() : myResourceBundleManager.getConcatenationTemplateName(); LOG.assertTrue(templateName != null); FileTemplate template = FileTemplateManager.getInstance(myProject).getCodeTemplate(templateName); Map<String, String> attributes = new HashMap<>(); attributes.put(JavaI18nizeQuickFixDialog.PROPERTY_KEY_OPTION_KEY, propertyKey); attributes.put(JavaI18nizeQuickFixDialog.RESOURCE_BUNDLE_OPTION_KEY, myRBEditorTextField != null ? myRBEditorTextField.getText() : null); attributes.put(JavaI18nizeQuickFixDialog.PROPERTY_VALUE_ATTR, propertyValue); attributes.put(I18nizeConcatenationQuickFix.PARAMETERS_OPTION_KEY, paramsString); try { return template.getText(attributes); } catch (IOException e) { LOG.error(e); return ""; } }