inline fun <A : Annotation> KClass<*>.springFindAnnotation(): A?

Uses AnnotationUtils.findAnnotation to find an annotation of type A

Return

the found Annotation or null if not found

Type Parameters

A

the type of the Annotation to find