There are many ways to find all methods with a specific annotation if you know the package you're searching in (for example by using the Reflections library). But if I'm writing a library, then I don't know the name of the package that's using my library. How would I go about finding all methods with a specific annotation in a case like this?
Aucun commentaire:
Enregistrer un commentaire