Description
When calling the BeforeBeanDiscovery.addInterceptorBinding(AnnotatedType<? extends Annotation>) method, the metadata of the provided AnnotatedType argument are not taken into account. A typical use case is when some of the members of the provided annotated type have been decorated with the @NonBinding annotation.
Indeed, the implementation in the org.apache.webbeans.portable.events.discovery.BeforeBeanDiscoveryImpl class delegate to the class-based version of the BeforeBeanDiscovery.addInterceptorBinding method by losing all the metadata information in the process.