Hi all
I am going to create an annotation and the developer can put it on a class. then I have a manager class in which I load those metadata for the first time to be used later.
earlier I used to have a XML file so the developer should specify the classes that are marked with the annotation and the manager class will read that file. Now I want to search through all the loaded classes and see if any of them are annotated with my annotation, so I can obtain the metadata.
My question is how to find the name or Class object of each classes that are already loaded by the class loader?
thanks in advance