docs: public void setEdges(java.util.Collection<Edge> edges) {
          if (edges == null) {
              this.edges = null;
              return;
          }
  
          this.edges = new java.util.ArrayList<Edge>(edges);
      }