|
During BeforeBeanDiscovery and AfterTypeDiscovery lifecycle event user can add new AnnotatedTypes using jaddAnnotatedType(java.lang.Class<T>, java.lang.String) which returns new AnnotatedTypeConfigurator.
Problem is that in Weld these ATs are never actually added because corresponding AbstractAnnotatedTypeRegisteringEvent#finish is called too early and the "additionalAnnotatedTypes" is overwritten in the following lifecycle event.
|