Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.
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

Added in API level 24
public Class<? extends Annotation> value ()

Indicates the containing annotation type for the repeatable annotation type.

Returns
Class<? extends Annotation> the containing annotation type