findAnnotation

inline fun <T : Annotation> KAnnotatedElement.findAnnotation(): T?

Returns an annotation of the given type on this element.

Since Kotlin

1.1