private void reset() {
    ThreadingAssertions.assertEventDispatchThread();
    myUsageNodes.clear();
    myModel.reset();
    myBuilder.reset();
    synchronized (modelToSwingNodeChanges) {
      modelToSwingNodeChanges.clear();
    }

    if (!myPresentation.isDetachedMode()) {
      SwingUtilities.invokeLater(() -> expandTree(2));
    }
  }
private void reset()