Repeatable

public abstract @interface Repeatable implements Annotation

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.

Public Method Summary

Class<? extends Annotation>
value()
Indicates the containing annotation type for the repeatable annotation type.

Inherited Method Summary

Public Methods

public Class<? extends Annotation> value ()

Indicates the containing annotation type for the repeatable annotation type.

Returns
  • the containing annotation type