docs: public void setNodes(java.util.Collection<Node> nodes) {
          if (nodes == null) {
              this.nodes = null;
              return;
          }
  
          this.nodes = new java.util.ArrayList<Node>(nodes);
      }