}
info("Replacing: " + typeElement.getQualifiedName() + " -> " + className);
Element tag = createTag(typeElement, annotationTag, className, document, false, type);
addAttributes(typeElement, tag, document, type);
parent.appendChild(tag);
if (annotationTag.deprecatedName() != null && annotationTag.deprecatedName().length() > 0) {
Element deprecatedTag = createTag(typeElement, annotationTag, className, document, true, type);
addAttributes(typeElement, deprecatedTag, document, type);
parent.appendChild(deprecatedTag);
}
}