void (@NotificationTitle @NotNull String title, @NotificationContent @NotNull String content) { Notification notification = IMPORTANT_ERROR_NOTIFICATION.createNotification(title, content, NotificationType.WARNING); notification.setDisplayId(CANNOT_RESOLVE_CONFLICT); notification.addAction(NotificationAction.createSimple(GitBundle.messagePointer("action.NotificationAction.text.resolve"), () -> { notification.expire(); mergeNoProceedInBackground(); })); VcsNotifier.getInstance(myProject).notify(notification); }