code: private void renderClass(ClassDoc doc, DocletRenderer renderer) {
          //handle the various parts of the Class doc
          renderer.renderDoc(doc);
          for (MemberDoc member : doc.fields()) {
              renderer.renderDoc(member);
          }
          for (MemberDoc member : doc.constructors()) {
              renderer.renderDoc(member);
          }
          for (MemberDoc member : doc.methods()) {
              renderer.renderDoc(member);
          }
          for (MemberDoc member : doc.enumConstants()) {
              renderer.renderDoc(member);
          }
          if (doc instanceof AnnotationTypeDoc) {
              for (MemberDoc member : ((AnnotationTypeDoc)doc).elements()) {
                  renderer.renderDoc(member);
              }
          }
      }
docs: Renders an individual class.
  
  @param doc input