docs: public void setGroups(java.util.Collection<GroupInformation> groups) {
          if (groups == null) {
              this.groups = null;
              return;
          }
  
          this.groups = new java.util.ArrayList<GroupInformation>(groups);
      }