code: @Override
      public void renderDoc(Doc doc) {
          // hide text that looks like tags (such as annotations in source code) from Javadoc
          doc.setRawCommentText(doc.getRawCommentText().replaceAll("@([A-Z])", "{@literal @}$1"));
  
          StringBuilder buffer = new StringBuilder();
          buffer.append(render(doc.commentText(), false));
          buffer.append('\n');
          for (Tag tag : doc.tags()) {
              renderTag(tag, buffer);
              buffer.append('\n');
          }
          doc.setRawCommentText(buffer.toString());
      }
docs: Renders a generic document (class, field, method, etc)
  
  @param doc input