Combined with the refactor that is part of
WELD-53, we should allow both the extended metadata and the slim AnnotatedTypes to be backed entirely with index based metadata. As there is no java standard for indexing, I believe the best approach is to make this pluggable, with the default being to use java reflection.
I will add another issue describing bootstrap refactors which should make it clear how both of these can be plugged in.
We could provide an impl based on jandex as well?