206 /** |
206 /** |
207 * Add the anchor. |
207 * Add the anchor. |
208 * |
208 * |
209 * @param builder the deprecated list builder |
209 * @param builder the deprecated list builder |
210 * @param type the type of list being documented |
210 * @param type the type of list being documented |
211 * @param contentTree the content tree to which the anchor will be added |
211 * @param htmlTree the content tree to which the anchor will be added |
212 */ |
212 */ |
213 private void addAnchor(DeprecatedAPIListBuilder builder, int type, Content htmlTree) { |
213 private void addAnchor(DeprecatedAPIListBuilder builder, int type, Content htmlTree) { |
214 if (builder.hasDocumentation(type)) { |
214 if (builder.hasDocumentation(type)) { |
215 htmlTree.addContent(getMarkerAnchor(ANCHORS[type])); |
215 htmlTree.addContent(getMarkerAnchor(ANCHORS[type])); |
216 } |
216 } |