private void endBulkOperation() {
      var ui = getUI();
      if (ui instanceof TreeUiBulkExpandCollapseSupport bulk) {
        bulk.endBulkOperation();
      }
      bulkOperationsInProgress.decrementAndGet();
    }
private void endBulkOperation()