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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -