对于一个元素类型常量出现多余一个的目标注释是编译错误的。例如下面的例子是不合法的。
It is a compile-time error for a single ElementType constant to appear more than once in a Target annotation. For example, the following meta-annotation is illegal.
对于一个元素类型常量出现多余一个的目标注释是编译错误的。例如下面的例子是不合法的。
It is a compile-time error for a single ElementType constant to appear more than once in a Target annotation. For example, the following meta-annotation is illegal.
应用推荐