boolean trace = log.isTraceEnabled();
if (trace)
log.trace(getName(handle) + " apply annotations");
// limit the annotations
MCAnnotations annotations = retrieval.getAnnotation(MCAnnotations.class);
if (annotations != null && (annotations.ignore() || annotations.value().length == 0))
{
if (trace)
log.trace("Ignoring annotations lookup: " + annotations);
return;
}
Collection<Class<? extends Annotation>> annotationClasses = (annotations != null ? Arrays.asList(annotations.value()) : null);
// class
ClassInfo classInfo = info.getClassInfo();
Annotation[] anns = retrieval.getAnnotations();
for (int i = 0 ; i < anns.length ; i++)