<div dir="ltr">Hi Guys,<div><br></div><div>Following CDI-642 and 643 I started to explore place where annotatedType can be used and where we don&#39;t provide access to AnnotatedTypeConfigurator [1], I really think we should solve this use case to avoid advanced users frustration discovering a new feature they can use everywhere (that was my case when realised that I could use it in BBD for Qualifier or interceptorBinding addition).</div><div><br></div><div>Possible solutions:</div><div>1) Add a hook to each of these place to obtain an AnnotatedTypeConfigurator</div><div>2) Add BM.createAnnotatypeConfigurator(Class) and BM.createAnnotatedType(ATC)</div><div>3) Add a Builder class that would provide a configure method</div><div>4) Transform AnnotatedTypeConfigurator into a Builder and simplify SPI using AnnotatedTypeConfigurator.</div><div><br></div><div>Antoine</div><div><br></div><div> [1] Non exhaustive list : </div><div>- BeforeTypeDiscovery for addQualifier and addInterceptorBinding</div><div>- UnManaged class</div><div>- BeanManager createInjectionTartet and getInjectionTargetFactory or in InjectionTarget</div><div>- BeanManager getProducerFactory where a configured AnnotatedField or AnnotatedMethod could be useful</div></div>