Added in API level 24

Repeatable

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

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

Summary

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

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

Properties
KClass<out Annotation!>

Indicates the containing annotation interface for the repeatable annotation interface.

Public constructors

Repeatable

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

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

Properties

value

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

Indicates the containing annotation interface for the repeatable annotation interface.

Return
KClass<out Annotation!> the containing annotation interface