find Annotation
Версия Kotlin: 1.1
inline fun <T : Annotation> KAnnotatedElement.findAnnotation(): T?
Возвращает аннотацию указанного типа для этого элемента.
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-reflect/kotlin.reflect.full/find-annotation.html