public List<AnnotationDiscovery> getDiscoveries() {
return m_discoveries;
}
public AnnotationVisitor visitAnnotation(final String desc) {
ChainedAnnotationVisitor chain = null;
for (AnnotationDiscovery discovery : m_discoveries) {
AnnotationVisitor visitor = discovery.visitAnnotation(desc);
if (visitor != null) {
if (chain == null) {
chain = new ChainedAnnotationVisitor();
}
chain.getVisitors().add(visitor);
}
}
return chain;
}