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