Package mg.emberframework.utils.scan
Class PackageUtils
java.lang.Object
mg.emberframework.utils.scan.PackageUtils
-
Method Summary
Modifier and TypeMethodDescriptiongetClasses
(String packageName) getClassesWithAnnotation
(String packageName, Class<? extends Annotation> annotationClass) getClassMethodsWithAnnotation
(Class<?> clazz, Class<? extends Annotation> annotation)
-
Method Details
-
getClassMethodsWithAnnotation
public static List<Method> getClassMethodsWithAnnotation(Class<?> clazz, Class<? extends Annotation> annotation) -
getClasses
public static List<Class<?>> getClasses(String packageName) throws ClassNotFoundException, IOException - Throws:
ClassNotFoundException
IOException
-
getClassesWithAnnotation
public static List<Class<?>> getClassesWithAnnotation(String packageName, Class<? extends Annotation> annotationClass) throws ClassNotFoundException, IOException - Throws:
ClassNotFoundException
IOException
-