docs: public void setRoutes(java.util.Collection<RouteRef> routes) {
          if (routes == null) {
              this.routes = null;
              return;
          }
  
          this.routes = new java.util.ArrayList<RouteRef>(routes);
      }