@Override protected void showCanNotIntroduceErrorHint(@NotNull Project project, @NotNull Editor editor) {
    String message =
      RefactoringBundle.getCannotRefactorMessage(PyPsiBundle.message("refactoring.introduce.constant.cannot.extract.selected.expression"));
    CommonRefactoringUtil.showErrorHint(project, editor, message, myDialogTitle, getHelpId());
  }
@Override protected void showCanNotIntroduceErrorHint(@NotNull Project project, @NotNull Editor editor)