void (@NotNull Project project, @NotNull List<ShelvedChangeList> changeLists, @NotNull List<ShelvedBinaryFile> binaryFiles, @NotNull List<ShelvedChange> changes) { LocalChangeList targetList; if (ChangeListManager.getInstance(project).areChangeListsEnabled()) { String suggestedName = changeLists.get(0).DESCRIPTION; ChangeListChooser chooser = new ChangeListChooser(project, VcsBundle.message("unshelve.changelist.chooser.title")) { @Override protected JComponent createDoNotAskCheckbox() { return createRemoveFilesStrategyCheckbox(project); } }; chooser.setSuggestedName(suggestedName); if (!chooser.showAndGet()) return; targetList = chooser.getSelectedList(); } else { targetList = null; } ShelveChangesManager.getInstance(project).unshelveSilentlyAsynchronously(project, changeLists, changes, binaryFiles, targetList); }