Package kotlin.annotation

Library support for the Kotlin annotation facility.

Types

AnnotationRetention

enum class AnnotationRetention

Contains the list of possible annotation's retentions.

AnnotationTarget

enum class AnnotationTarget

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

Annotations

MustBeDocumented

annotation class 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.

Repeatable

annotation class Repeatable

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

Retention

annotation class Retention

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

Target

annotation class Target

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