KAnnotatedElement

Represents an annotated element and allows to obtain its annotations. See the Kotlin language documentation for more information.

Since Kotlin

1.0

Properties

Link copied to clipboard
abstract val annotations: List<Annotation>

Annotations which are present on this element.

Since Kotlin 1.0

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard

Returns an annotation of the given type on this element.

Since Kotlin 1.1