summaryrefslogtreecommitdiff
path: root/core/java/android/annotation/IntDef.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@google.com>2017-12-11 16:47:13 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-12-11 16:47:13 +0000
commit27674aedc0c2fe6f013ea0d6722bdb0d17fc7c57 (patch)
tree746a77641c8f5a615b8415b3e55f87d897b557a7 /core/java/android/annotation/IntDef.java
parente5634eeba63e975f8d69f7673596a5dc59908438 (diff)
parent5db9a911354271abdc13a2a645d0de7d2619010e (diff)
Merge "Add auto-doc support for @StringDef."
Diffstat (limited to 'core/java/android/annotation/IntDef.java')
-rw-r--r--core/java/android/annotation/IntDef.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/annotation/IntDef.java b/core/java/android/annotation/IntDef.java
index 637fc1e6afe2..f84a67655dc3 100644
--- a/core/java/android/annotation/IntDef.java
+++ b/core/java/android/annotation/IntDef.java
@@ -52,7 +52,9 @@ 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 */
int[] value() default {};