docs: public DefaultMetadata withNodes(
        Map<UUID, Node> newNodes,
        boolean tokenMapEnabled,
        boolean tokensChanged,
        TokenFactory tokenFactory,
        InternalDriverContext context) {
  
      // Force a rebuild if at least one node has different tokens, or there are new or removed nodes.
      boolean forceFullRebuild = tokensChanged || !newNodes.equals(nodes);
  
      return new DefaultMetadata(
          ImmutableMap.copyOf(newNodes),
          this.keyspaces,
          rebuildTokenMap(
              newNodes, keyspaces, tokenMapEnabled, forceFullRebuild, tokenFactory, context));
    }