private void cannotPerformRefactoring(@NotNull Project project, @NotNull Editor editor) {
    showErrorHint(RefactoringBundle.message("cannot.perform.refactoring"), editor, project);
  }
private void cannotPerformRefactoring(@NotNull Project project, @NotNull Editor editor)