public void setChangesToDisplay(@NotNull Collection<? extends T> changes) {
    ThreadingAssertions.assertEventDispatchThread();
    if (myProject.isDisposed()) return;

    myChanges.clear();
    myChanges.addAll(changes);

    rebuildTree();
  }
public void setChangesToDisplay(@NotNull Collection<? extends T> changes)