summaryrefslogtreecommitdiffstats
path: root/core/java/android/annotation
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2013-12-17 08:41:25 -0800
committerTor Norbye <tnorbye@google.com>2013-12-17 08:44:38 -0800
commitbbc75f34e6b43c8310fb1deff02b0508acdf9659 (patch)
treef8de2580bb71abbf462f1ec33d973c6d047d5d46 /core/java/android/annotation
parentc594e9d90465d9d60447ad8aff9d07625474f69c (diff)
downloadframeworks_base-bbc75f34e6b43c8310fb1deff02b0508acdf9659.zip
frameworks_base-bbc75f34e6b43c8310fb1deff02b0508acdf9659.tar.gz
frameworks_base-bbc75f34e6b43c8310fb1deff02b0508acdf9659.tar.bz2
Hide NonNull and Nullable.
These should not be used in app code; instead, we will add class-file retention versions of these to the support library. Change-Id: I13275bd28529f5da04d923688655be35c77dbb1c
Diffstat (limited to 'core/java/android/annotation')
-rw-r--r--core/java/android/annotation/NonNull.java2
-rw-r--r--core/java/android/annotation/Nullable.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/annotation/NonNull.java b/core/java/android/annotation/NonNull.java
index 8e604f0..3ca9eea 100644
--- a/core/java/android/annotation/NonNull.java
+++ b/core/java/android/annotation/NonNull.java
@@ -27,6 +27,8 @@ import static java.lang.annotation.RetentionPolicy.SOURCE;
* Denotes that a parameter, field or method return value can never be null.
* <p>
* This is a marker annotation and it has no specific attributes.
+ *
+ * @hide
*/
@Retention(SOURCE)
@Target({METHOD, PARAMETER, FIELD})
diff --git a/core/java/android/annotation/Nullable.java b/core/java/android/annotation/Nullable.java
index cdba2f6..43f42fa 100644
--- a/core/java/android/annotation/Nullable.java
+++ b/core/java/android/annotation/Nullable.java
@@ -34,6 +34,8 @@ import static java.lang.annotation.RetentionPolicy.SOURCE;
* null.
* <p>
* This is a marker annotation and it has no specific attributes.
+ *
+ * @hide
*/
@Retention(SOURCE)
@Target({METHOD, PARAMETER, FIELD})