for (Annotation ann : paramList.get(param).getAnnotations()) {
if (ann.annotationType().isAnnotationPresent(Qualifier.class))
bindingSet.add(ann);
}
Observes observes = paramList.get(param).getAnnotation(Observes.class);
if (method.isAnnotationPresent(Inject.class)) {
throw InjectManager.error(method, L.l("A method may not have both an @Observer and an @Inject annotation."));
}
if (method.isAnnotationPresent(Produces.class)) {
throw InjectManager.error(method, L.l("A method may not have both an @Observer and a @Produces annotation."));
}
if (method.isAnnotationPresent(Disposes.class)) {
throw InjectManager.error(method, L.l("A method may not have both an @Observer and a @Disposes annotation."));
}
ObserverMethodImpl<X,Z> observerMethod;
switch(observes.during()) {
case BEFORE_COMPLETION:
observerMethod
= new ObserverMethodBeforeCompletionImpl(_cdiManager,
bean,
beanMethod,