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