code: void writeAssocBean() throws IOException {
  
      writingAssocBean = true;
      origDestPackage = destPackage;
      destPackage = destPackage + ".assoc";
      origShortName = shortName;
      shortName = "Assoc" + shortName;
  
      prepareAssocBeanImports();
  
      writer = new Append(createFileWriter());
  
      writePackage();
      writeImports();
      writeClass();
      writeFields();
      writeConstructors();
      writeClassEnd();
  
      writer.close();
    }
docs: Write the type query assoc bean.