String msg = "Replacing: " + decl.getQualifiedName() + " -> " + className;
getEnv().getMessager().printNotice(msg);
Element tag = createTag(decl, annotationTag, className, document, false);
addAttributes(decl, tag, document);
parent.appendChild(tag);
if (annotationTag.deprecatedName() != null&&annotationTag.deprecatedName().length() > 0) {
Element deprecatedTag = createTag(decl, annotationTag, className, document, true);
addAttributes(decl, deprecatedTag, document);
parent.appendChild(deprecatedTag);
}
}