docs: public void setOrphanedResources(java.util.Collection<Resource> orphanedResources) {
          if (orphanedResources == null) {
              this.orphanedResources = null;
              return;
          }
  
          this.orphanedResources = new java.util.ArrayList<Resource>(orphanedResources);
      }