code: public String getHosts() {
      if (isReference()) {
        final DistributerDef refDistributer = (DistributerDef) getCheckedRef(DistributerDef.class, "DistributerDef");
        return refDistributer.getHosts();
      }
      return this.hosts;
    }
docs: Gets hosts.
  
  @return hosts, may be null.