getAllAnnotations

Finds all annotations from the annotated element.

The search is breadth-first and considers meta-annotations, but does not support superclasses via @Inherited.


@JvmName(name = "getAllAnnotationsKotlin")
fun KAnnotatedElement.getAllAnnotations(): List<Annotation>(source)

Finds all annotations from the annotated element.

The search is breadth-first and considers meta-annotations, but does not support superclasses via @Inherited.