ClassDoc doc = (ClassDoc) container;
replaceMessagerRecursively(newMessager,
(Object[]) doc.constructors());
replaceMessagerRecursively(newMessager,
(Object[]) doc.methods());
replaceMessagerRecursively(newMessager, (Object[]) doc.fields());
replaceMessagerRecursively(newMessager,
(Object[]) doc.innerClasses());
}
}