}
if (container instanceof ProgramElementDoc) {
ProgramElementDoc doc = (ProgramElementDoc) container;
replaceMessagerRecursively(newMessager,
(Object[]) doc.annotations());
}
if (container instanceof ClassDoc) {
ClassDoc doc = (ClassDoc) container;
replaceMessagerRecursively(newMessager,