code: @Override
      public void build() throws DocletException {
          SortedSet<TypeElement> rootclasses = new TreeSet<>(utils.makeGeneralPurposeComparator());
          rootclasses.addAll(configuration.getIncludedTypeElements());
          if (!serialClassFoundToDocument(rootclasses)) {
              //Nothing to document.
              return;
          }
          writer = configuration.getWriterFactory().getSerializedFormWriter();
          if (writer == null) {
              //Doclet does not support this output.
              return;
          }
          build(layoutParser.parseXML(NAME), contentTree);
      }
docs: Build the serialized form.
  
  @throws DocletException if there is a problem while building the documentation