java - Find class marked with annotation of a specific value -
i'm using java reflections api i'm finding quite convenient far:
https://github.com/ronmamo/reflections
find classes marked specific annotation dead easy, however, can't figure out how add filter in scanner retrieve classes have annotation configured in way.
for example, if have 3 classes:
@important(level="high") public class highlyimportant { } @important(level="medium") public class moderatelyimportant { } @important(level="low") public class notsoimportant { }
i can 3 classes scanning @important annotation, how restrict @important(level=high) ?
thanks
Comments
Post a Comment