lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 24

Repeatable

public abstract @interface Repeatable
implements Annotation

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 methods

Class<? extends Annotation> value()

Indicates the containing annotation type for the repeatable annotation type.

Inherited methods

Public methods

value

public Class<? extends Annotation> value ()

Indicates the containing annotation type for the repeatable annotation type.

Returns
Class<? extends Annotation> the containing annotation type