Class AnnotationScanner

java.lang.Object
io.taktx.client.AnnotationScanner

public class AnnotationScanner extends Object
Utility class for scanning classes and methods annotated with specific annotations using ClassGraph.
  • Method Details

    • findClassesWithAnnotatedMethods

      public static Set<Class<?>> findClassesWithAnnotatedMethods(Class<?> annotation)
      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

      public static Set<Deployment> findTaktDeployments()
      Finds all classes annotated with the @TaktDeployment annotation, excluding proxy classes.
      Returns:
      A set of TaktDeployment annotations found on classes