docs: public void setTargets(java.util.Collection<Target> targets) {
          if (targets == null) {
              this.targets = null;
              return;
          }
  
          this.targets = new java.util.ArrayList<Target>(targets);
      }