Google is committed to advancing racial equity for Black communities. See how.
Added in API level 24

Repeatable

@Target([AnnotationTarget.ANNOTATION_CLASS]) class Repeatable
java.lang.annotation.Repeatable

The annotation type java.lang.annotation.Repeatable is used to indicate that the annotation type whose declaration it (meta-)annotates is repeatable. The value of @Repeatable indicates the containing annotation type for the repeatable annotation type.

Summary

Public constructors
<init>(value: KClass<out Annotation!>)

The annotation type java.lang.annotation.Repeatable is used to indicate that the annotation type whose declaration it (meta-)annotates is repeatable.

Properties
KClass<out Annotation!>

Indicates the containing annotation type for the repeatable annotation type.

Public constructors

<init>

Added in API level 24
Repeatable(value: KClass<out Annotation!>)

The annotation type java.lang.annotation.Repeatable is used to indicate that the annotation type whose declaration it (meta-)annotates is repeatable. The value of @Repeatable indicates the containing annotation type for the repeatable annotation type.

Properties

value

Added in API level 24
val value: KClass<out Annotation!>

Indicates the containing annotation type for the repeatable annotation type.

Return
KClass<out Annotation!> the containing annotation type