注释接口
java.lang.annotation.Repeatable 用于指示它(元)注释其声明的注释接口是 repeatable 。 @Repeatable 的值表示可重复注释接口的 containing annotation interface。
- 看Java 语言规范:
-
9.6.3 可重复的注解接口
9.7.5 同一接口的多个注解
- 自从:
- 1.8
-
必需元素摘要
必需的元素
-
元素详细信息
-
value
Class <? extends Annotation > value指示可重复注释接口的containing annotation interface。- 返回:
- 包含注解
-