docs: public void setKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases) {
          if (keyPhrases == null) {
              this.keyPhrases = null;
              return;
          }
  
          this.keyPhrases = new java.util.ArrayList<KeyPhrase>(keyPhrases);
      }