| package android.support.annotation; |
| |
| import java.lang.annotation.Retention; |
| import java.lang.annotation.RetentionPolicy; |
| import java.lang.annotation.Target; |
| |
| import static java.lang.annotation.ElementType.ANNOTATION_TYPE; |
| import static java.lang.annotation.ElementType.FIELD; |
| import static java.lang.annotation.ElementType.METHOD; |
| import static java.lang.annotation.ElementType.PARAMETER; |
| import static java.lang.annotation.RetentionPolicy.CLASS; |
| import static java.lang.annotation.RetentionPolicy.SOURCE; |
| |
| @Retention(CLASS) |
| @Target({ANNOTATION_TYPE}) |
| public @interface IntDef { |
| long[] value() default {}; |
| boolean flag() default false; |
| } |