code: public void addAnnotationInfo(ProgramElementDoc doc, Content htmltree) {
          addAnnotationInfo(doc, doc.annotations(), htmltree);
      }
docs: Adds the annotatation types for the given doc.
  
  @param doc the package to write annotations for
  @param htmltree the content tree to which the annotation types will be added