code: protected void writeAnnotations( IAnnotated annotated)
      {
      toStream( annotated.getAnnotations())
        .sorted()
        .forEach( annotation -> {
          xmlWriter_
            .element( HAS_TAG)
            .attribute( NAME_ATR, annotation)
            .attribute( VALUE_ATR, annotated.getAnnotation( annotation))
            .write();
          });
      }
docs: Writes the given annotation definitions.