has Annotation Recursive
fun hasAnnotationRecursive(element: KAnnotatedElement, annotationType: Class<out Annotation>): Boolean(source)
Returns true
if this element is annotated with annotationType.
The search is breadth-first and considers meta-annotations, but does not support superclasses via @Inherited.
Returns true
if this element is annotated with A.
The search is breadth-first and considers meta-annotations, but does not support superclasses via @Inherited.
fun KAnnotatedElement.hasAnnotationRecursive(annotationType: KClass<out Annotation>): Boolean(source)
Returns true
if this element is annotated with annotationType.
The search is breadth-first and considers meta-annotations, but does not support superclasses via @Inherited.