Files
2013-03-13 10:23:19 +01:00

8 lines
221 B
Java

import java.lang.annotation.*;
//OK
@Target({ElementType.TYPE})
@Expose @interface Expose {}
@Target({ElementType.FIELD})
<error descr="'@Expose1' not applicable to annotation type">@Expose1</error>@interface Expose1 {}