void (@NotNull Collection<? extends Change> changes, boolean honorExcludedFromCommit) { final String operationName = UIUtil.removeMnemonic(RollbackChangesDialog.operationNameByChanges(myProject, changes)); boolean modalContext = ApplicationManager.getApplication().isDispatchThread() && LaterInvocator.isInModalContext(); runWithSpan(myTracer, Shelve.RollbackAfterShelve.getName(), (__) -> { new RollbackWorker(myProject, operationName, modalContext) .doRollback(changes, true, null, VcsBundle.message("shelve.changes.action"), honorExcludedFromCommit); }); }