docs: public void setLayers(java.util.Collection<Layer> layers) {
          if (layers == null) {
              this.layers = null;
              return;
          }
  
          this.layers = new java.util.ArrayList<Layer>(layers);
      }