public void setRoot(@Nullable Root root) {
    Root old = this.root.getAndSet(root);
    if (old != root && old != null) {
      Disposer.dispose(old);
    }
    structureChanged(null);
  }
public void setRoot(@Nullable Root root)