We should probably align the behaviour and allow WithAnnotations to be notified. For that we should either:
- fix org.jboss.weld.bootstrap.events.RequiredAnnotationDiscovery which currently only works on classes
- it leverages Class.getSuperclass() and we should add Class.getInterfaces() as well
- or we can make use of org.jboss.weld.bootstrap.events.ProcessAnnotatedTypeEventResolvable
Either way we should figure out why there are two different approaches used throughout the code. If there are any takers for a PR, I won't fight you over that |