jeudi 5 mars 2020

CDI Collect All Annotated Methods

I know that with cdi, you can collect all types (classes/interfaces) annotated with a certain annotation (By observing ProcessAnnotatedType). However, I would like to collect all methods annotated with a certain annotation. Is this possible with pure CDI? I have an example doing this using the Reflections library (org.reflections), but I would like to do this with cdi if possible. Does anyone know how to do this? Thanks, Connor





Aucun commentaire:

Enregistrer un commentaire