import java.lang.annotation.*; //OK @Target({ElementType.TYPE}) @Expose @interface Expose {} @Target({ElementType.FIELD}) @Expose1@interface Expose1 {}