code: @Override
      public void setContract(Contract c) {
          super.setContract(c);
          for (Field f : fields.values()) {
              f.setContract(c);
          }
      }
docs: Sets the Contract associated with this Struct.  Propagates to Fields.