Interface AnnotationDatabase


public interface AnnotationDatabase
This class provides searchable access to runtime annotations.
Author:
Ville Koskela (ville dot koskela at inscopemetrics dot io)
  • Method Details

    • findClassesWithAnnotation

      Set<Class<?>> findClassesWithAnnotation(Class<? extends Annotation> annotationClass)
      Retrieve the Set of classes with the declared annotation.
      Parameters:
      annotationClass - The annotation class to search for.
      Returns:
      The Set of classes that are declared with the specified annotation.