code: private void addAnchor(DeprecatedAPIListBuilder builder, int type, Content htmlTree) {
          if (builder.hasDocumentation(type)) {
              htmlTree.addContent(getMarkerAnchor(ANCHORS[type]));
          }
      }
docs: Add the anchor.
  
  @param builder the deprecated list builder
  @param type the type of list being documented
  @param htmlTree the content tree to which the anchor will be added