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

Class<? extends Annotation> value()

Indicates the containing annotation interface for the repeatable annotation interface.

Inherited methods

Public methods

value

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

Indicates the containing annotation interface for the repeatable annotation interface.

Returns
Class<? extends Annotation> the containing annotation interface