Added in API level 24

Repeatable

public abstract @interface Repeatable
implements Annotation

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 methods

ClassAnnotation> value()

Indicates the containing annotation interface for the repeatable annotation interface.

Inherited methods

Public methods

value

Added in API level 24
public ClassAnnotation> value ()

Indicates the containing annotation interface for the repeatable annotation interface.

Returns
ClassAnnotation> the containing annotation interface