@Override
  public final void performI18nization(final PsiFile psiFile,
                                       final Editor editor,
                                       T literalExpression,
                                       Collection<PropertiesFile> propertiesFiles,
                                       String key, String value, String i18nizedText,
                                       UExpression[] parameters,
                                       final PropertyCreationHandler propertyCreationHandler) throws IncorrectOperationException {
    Project project = psiFile.getProject();
    propertyCreationHandler.createProperty(project, propertiesFiles, key, value, parameters);
    try {
      doReplacement(psiFile, editor, literalExpression, i18nizedText);
    }
    catch (IncorrectOperationException e) {
      ApplicationManager.getApplication().invokeLater(() -> Messages.showErrorDialog(project,
                                                                                     JavaI18nBundle
                                                                                       .message(
                                                                                         "inspection.i18n.expression.is.invalid.error.message"),
                                                                                     JavaI18nBundle
                                                                                       .message("inspection.error.dialog.title")));
    }
  }
@Override
  public final void performI18nization(final PsiFile psiFile,
                                       final Editor editor,
                                       T literalExpression,
                                       Collection<PropertiesFile> propertiesFiles,
                                       String key, String value, String i18nizedText,
                                       UExpression[] parameters,
                                       final PropertyCreationHandler propertyCreationHandler)