APIdia Launch Partner
Top Description Methods
java.lang.annotation

public @Interface Repeatable

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:ANNOTATION_TYPE

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.
Since
1.8
Java Language Specification
9.6.3 Repeatable Annotation Interfaces, 9.7.5 Multiple Annotations of the Same Interface

Method Summary

Modifier and TypeMethod and Description
public Class<? extends Annotation>

Returns:

the containing annotation interface
value
()

Indicates the containing annotation interface for the repeatable annotation interface.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<? extends Annotation> value()

Indicates the containing annotation interface for the repeatable annotation interface.

Returns:Class<? extends Annotation>

the containing annotation interface