Allow integrators to make use of existing reflection cache / bytecode scanning for resolving whether a class is annotated with a given annotation. Currently there is org.jboss.weld.bootstrap.events.AnnotationDiscovery together with the default implementation SimpleAnnotationDiscovery (reflection is used). We should expose something similar as part of Weld SPI.
https://github.com/jboss/cdi/commit/46a3027c285d7a742c6d5ab5ff79262d8892fbe4
|