Class AnnotationScanner
java.lang.Object
io.taktx.client.AnnotationScanner
Utility class for scanning classes and methods annotated with specific annotations using
ClassGraph.
-
Method Summary
Modifier and TypeMethodDescriptionfindClassesWithAnnotatedMethods(Class<?> annotation) Finds all classes that have at least one method annotated with the specified annotation.static Set<Deployment> Finds all classes annotated with the @TaktDeployment annotation, excluding proxy classes.
-
Method Details
-
findClassesWithAnnotatedMethods
Finds all classes that have at least one method annotated with the specified annotation.- Parameters:
annotation- The annotation class to search for on methods- Returns:
- A set of classes containing methods annotated with the specified annotation
-
findTaktDeployments
Finds all classes annotated with the @TaktDeployment annotation, excluding proxy classes.- Returns:
- A set of TaktDeployment annotations found on classes
-