Class AnnotationUtil


  • public final class AnnotationUtil
    extends Object
    Allow classpath scanning for annotations
    • Method Detail

      • find

        public static Set<String> find​(Class<? extends Annotation> annotationType)
        Finds all classes with the given annotation
        Parameters:
        annotationType - the annotation class
        Returns:
        all classes founds
      • find

        public static Set<String> find​(String strAnnotation)
        Finds all classes with the given annotation
        Parameters:
        strAnnotation - the annotation class name
        Returns:
        all classes founds