void () { VcsNotifier.getInstance(myProject).notifyImportantWarning( UNSTASH_WITH_CONFLICTS, GitBundle.message("stash.unstash.unresolved.conflict.warning.notification.title"), GitBundle.message("stash.unstash.unresolved.conflict.warning.notification.message"), new NotificationListener() { @Override public void hyperlinkUpdate(@NotNull Notification notification, @NotNull HyperlinkEvent event) { if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { if (event.getDescription().equals("saver")) { // we don't use #showSavedChanges to specify unmerged root first GitUnstashDialog.showUnstashDialog(myProject, new ArrayList<>(myStashedRoots), myStashedRoots.iterator().next()); } else if (event.getDescription().equals("resolve")) { mergeNoProceedInBackground(); } } } } ); }