@Override
      public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor) {
        final PsiFile psiFile = descriptor.getPsiElement().getContainingFile();
        Editor selectedTextEditor = FileEditorManager.getInstance(project).getSelectedTextEditor();
        final Editor editor = selectedTextEditor != null ? selectedTextEditor : new LazyEditor(psiFile);
        try {
          action.invoke(project, editor, psiFile);
        }
        catch (IncorrectOperationException e) {
          LOG.error(e);
        }
      }
@Override
      public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor)