private static void showErrorHint(Project project, DataContext dataContext, @NlsContexts.DialogMessage String message) {
    Editor editor = dataContext == null ? null : CommonDataKeys.EDITOR.getData(dataContext);
    CommonRefactoringUtil.showErrorHint(project, editor, RefactoringBundle.getCannotRefactorMessage(message), getRefactoringName(), HelpID.MOVE_INSTANCE_METHOD);
  }
private static void showErrorHint(Project project, DataContext dataContext, @NlsContexts.DialogMessage String message)