void (Project project, Editor editor) { CommonRefactoringUtil.showErrorHint(project, editor, PyPsiBundle.message("refactoring.introduce.selection.error"), myDialogTitle, "refactoring.extractMethod"); }