I have used org.reflections (http://code.google.com/p/reflections/) in my project for loading classes with certain annotations. Now I have class and I need to get all methods with annotation that I have made myself. But when I create Reflections object, it asks just for package name, so if I would use getMethodsAnnotatedWith method, it would get all methods from given package classes, but I want to get methods from my class. How can I do that?
I have used org.reflections (http://code.google.com/p/reflections/) in my project for loading classes with certain annotations.
Share
Here is what you can do: