@Override
    public void performI18nization(final PsiFile psiFile,
                                   final Editor editor,
                                   UExpression literalExpression,
                                   Collection<PropertiesFile> propertiesFiles,
                                   String key, String value, String i18nizedText,
                                   UExpression[] parameters,
                                   final PropertyCreationHandler propertyCreationHandler) throws IncorrectOperationException {
      Project project = psiFile.getProject();
      TextRange selectedText = JavaI18nUtil.getSelectedRange(editor, psiFile);
      if (selectedText == null) return;
      propertyCreationHandler.createProperty(project, propertiesFiles, key, value, parameters);
      editor.getDocument().replaceString(selectedText.getStartOffset(), selectedText.getEndOffset(), i18nizedText);
    }
@Override
    public void performI18nization(final PsiFile psiFile,
                                   final Editor editor,
                                   UExpression literalExpression,
                                   Collection<PropertiesFile> propertiesFiles,
                                   String key, String value, String i18nizedText,
                                   UExpression[] parameters,
                                   final PropertyCreationHandler propertyCreationHandler)