Description
I needed to create AnnotatedType for Annotation to register it as an interceptor binding with BeforeBeanDiscovery#addInterceptorBinding and realised that the builded AnnotatedType thru AnnotatedTypeBuilder contained all the Annotation class methods where it should have contained none. That makes the container (Weld or OWB) crash.