docs: public Reference addDomain() { //3
        Reference t = new Reference();
        if (this.domain == null)
          this.domain = new ArrayList<Reference>();
        this.domain.add(t);
        return t;
      }