code: public void buildClassSignature(XMLNode node, Content classInfoTree) {
          StringBuilder modifiers = new StringBuilder(classDoc.modifiers());
          modifiers.append(modifiers.length() == 0 ? "" : " ");
          if (isEnum) {
              modifiers.append("enum ");
              int index;
              if ((index = modifiers.indexOf("abstract")) >= 0) {
                  modifiers.delete(index, index + "abstract".length());
                  modifiers = new StringBuilder(
                          Util.replaceText(modifiers.toString(), "  ", " "));
              }
              if ((index = modifiers.indexOf("final")) >= 0) {
                  modifiers.delete(index, index + "final".length());
                  modifiers = new StringBuilder(
                          Util.replaceText(modifiers.toString(), "  ", " "));
              }
          //} else if (classDoc.isAnnotationType()) {
              //modifiers.append("@interface ");
          } else if (! isInterface) {
              modifiers.append("class ");
          }
          writer.addClassSignature(modifiers.toString(), classInfoTree);
      }
docs: Build the signature of the current class.
  
  @param node the XML element that specifies which components to document
  @param classInfoTree the content tree to which the documentation will be added