private void showErrorMessage(Editor editor, @NlsContexts.DialogMessage String message) {
    CommonRefactoringUtil.showErrorHint(myProject, editor, message, JavaRefactoringBundle.message("anonymousToInner.refactoring.name"), HelpID.ANONYMOUS_TO_INNER);
  }
private void showErrorMessage(Editor editor, @NlsContexts.DialogMessage String message)