private static void showErrorMessage(@NlsContexts.DialogMessage String message, Project project, Editor editor) {
    CommonRefactoringUtil.showErrorHint(project, editor, message, JavaRefactoringBundle.message("replace.constructor.with.builder"), HelpID.REPLACE_CONSTRUCTOR_WITH_BUILDER);
  }
private static void showErrorMessage(@NlsContexts.DialogMessage String message, Project project, Editor editor)