@Override
public void addClassAnnotation(char[] buffer, int offset, int length)
{
try {
AnnType annType = _scanManager.loadAnnotation(buffer, offset, length);
if (annType == null)
return;
if (_registerAnnotationSet.contains(annType.getType())) {
if (annType.getType() == Observes.class)
setObserves();
_isRegisterRequired = true;
return;
}
for (Annotation ann : annType.getAnnotations()) {
Class<? extends Annotation> metaAnnType = ann.annotationType();
if (metaAnnType == Stereotype.class) {
_isRegisterRequired = true;
}