Spring Framework provides several APIs for performing annotation searches that have grown organically over the years, and it's not always clear to users and integrators which API to use for a given use case.
To address that, we should cross reference the annotation search APIs in MergedAnnotations
, AnnotatedElementUtils
, AnnotationUtils
, and TestContextAnnotationUtils
and provide minimal guidance for when to use which.