Package kotlin.annotation

Library support for the Kotlin annotation facility.

Types

Common
JVM
JS
Native
1.0

AnnotationRetention

Contains the list of possible annotation's retentions.

enum class AnnotationRetention
Common
JVM
JS
Native
1.0

AnnotationTarget

Contains the list of code elements which are the possible annotation targets

enum class AnnotationTarget

Annotations

Common
JVM
JS
Native
1.0

MustBeDocumented

This meta-annotation determines that an annotation is a part of public API and therefore should be included in the generated documentation for the element to which the annotation is applied.

annotation class MustBeDocumented
Common
JVM
JS
Native
1.0

Repeatable

This meta-annotation determines that an annotation is applicable twice or more on a single code element

annotation class Repeatable
Common
JVM
JS
Native
1.0

Retention

This meta-annotation determines whether an annotation is stored in binary output and visible for reflection. By default, both are true.

annotation class Retention
Common
JVM
JS
Native
1.0

Target

This meta-annotation indicates the kinds of code elements which are possible targets of an annotation.

annotation class Target