@Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface SupportedAnnotationTypes
用来指示注释处理器支持哪些注释类型的注释。Processor.getSupportedAnnotationTypes() 方法可以根据此注释的值构造它的结果,正如 AbstractProcessor.getSupportedAnnotationTypes() 所做的一样。只有符合语法的字符串才应该作为值来使用。
| 必需元素摘要 | |
|---|---|
String[] |
value |
| 元素详细信息 |
|---|
public abstract String[] value