kotlin / 1.7.0 / api / latest / jvm / stdlib / kotlin.annotation / -repeatable / index.html /

Repeatable

Platform and version requirements: JVM (1.0), JS (1.1), Native (1.3)
@Target([AnnotationTarget.ANNOTATION_CLASS]) annotation class Repeatable

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

Constructors

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)

<init>

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

<init>()

Extension Properties

Platform and version requirements: JVM (1.0)

annotationClass

Returns a KClass instance corresponding to the annotation type of this annotation.

val <T : Annotation> T.annotationClass: KClass<out T>

© 2010–2022 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.annotation/-repeatable/