KAnnotated Element
Represents an annotated element and allows to obtain its annotations. See the Kotlin language documentation for more information.
Since Kotlin
1.0Represents an annotated element and allows to obtain its annotations. See the Kotlin language documentation for more information.
Since Kotlin
1.3Properties
Inheritors
Extensions
Link copied to clipboard
Returns an annotation of the given type on this element.
Since Kotlin 1.1
Link copied to clipboard
Returns all annotations of the given type on this element, including individually applied annotations as well as repeated annotations.
Since Kotlin 1.7
Link copied to clipboard
Returns true if this element is annotated with an annotation of type T.
Since Kotlin 1.4