mardi 19 janvier 2021

How to get list of all loaded Classes by all JVM ClassLoaders, which is anotated by some anotation?

I looked at this, but this is not helpful for me. Getting a list of all classloaders in a JVM

I am making my own injecting library and I want to use annotations to markup classes which will be instantiated at injector start. Is there a way to get list of all loaded Classes by all JVM ClassLoaders, which is anotated by some anotation?

Is it possible to do this with for example "org.reflections" dependency or similar?

Thanks for your help





Aucun commentaire:

Enregistrer un commentaire