find All Annotations With
fun <A : Annotation> findAllAnnotationsWith(element: KAnnotatedElement, annotationType: Class<A>): List<MetaAnnotatedClass<A>>(source)
Finds all annotations meta-annotated with A from the annotated element.
The search is breadth-first and considers meta-annotations, but does not support superclasses via @Inherited.
inline fun <A : Annotation> KAnnotatedElement.findAllAnnotationsWith(): List<MetaAnnotatedClass<A>>(source)
fun <A : Annotation> KAnnotatedElement.findAllAnnotationsWith(annotationType: KClass<A>): List<MetaAnnotatedClass<A>>(source)
Finds all annotations meta-annotated with A from the annotated element.
The search is breadth-first and considers meta-annotations, but does not support superclasses via @Inherited.