docs: public void setComponents(java.util.Collection<ResourcePathComponent> components) {
          if (components == null) {
              this.components = null;
              return;
          }
  
          this.components = new java.util.ArrayList<ResourcePathComponent>(components);
      }