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,