diff options
Diffstat (limited to 'android/annotation/IntDef.java')
-rw-r--r-- | android/annotation/IntDef.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/android/annotation/IntDef.java b/android/annotation/IntDef.java index 3f9064e4..f84a6765 100644 --- a/android/annotation/IntDef.java +++ b/android/annotation/IntDef.java @@ -52,10 +52,12 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; @Target({ANNOTATION_TYPE}) public @interface IntDef { /** Defines the constant prefix for this element */ - String[] prefix() default ""; + String[] prefix() default {}; + /** Defines the constant suffix for this element */ + String[] suffix() default {}; /** Defines the allowed constants for this element */ - long[] value() default {}; + int[] value() default {}; /** Defines whether the constants can be used as a flag, or just as an enum (the default) */ boolean flag() default false; |