protected void doRollback(@NotNull Collection<? extends VirtualFile> rootsToSave,
                            @NotNull Collection<Change> shelvedChanges) {
    Set<VirtualFile> rootsSet = new HashSet<>(rootsToSave);
    List<Change> changes4Rollback = filterChangesByRoots(ChangeListManager.getInstance(project).getAllChanges(), rootsSet);
    ActivityId activityId = myReportLocalHistoryActivity ? VcsActivity.Shelve : null;
    new RollbackWorker(project, myStashMessage, true)
      .doRollback(changes4Rollback, true, VcsBundle.message("activity.name.shelve"), activityId);
  }
protected void doRollback(@NotNull Collection<? extends VirtualFile> rootsToSave,
                            @NotNull Collection<Change> shelvedChanges)