findAllAnnotations

open fun <A : Annotation> findAllAnnotations(annotationType: Class<out A>, rootOverride: Boolean): List<A>(source)

Finds all annotations of type annotationType from this executable's function.

The search is breadth-first and considers meta-annotations.

@Repeatable is supported.

Parameters

rootOverride

Whether a direct annotation on this element overrides all meta-annotations