private void ensureChildrenAreInitialized() {
    if (myChildren == null) {
      try {
        myChildren = new ArrayList<>();
        rebuildSubtree();
      } catch (IndexNotReadyException | ProcessCanceledException pce) {
        myChildren = null;
        throw pce;
      }
    }
  }
private void ensureChildrenAreInitialized()