Loading api/current.txt +0 −6 Original line number Diff line number Diff line Loading @@ -2682,12 +2682,6 @@ package android.animation { package android.annotation { public abstract class NonNull implements java.lang.annotation.Annotation { } public abstract class Nullable implements java.lang.annotation.Annotation { } public abstract class SuppressLint implements java.lang.annotation.Annotation { } core/java/android/annotation/NonNull.java +2 −0 Original line number Diff line number Diff line Loading @@ -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}) Loading core/java/android/annotation/Nullable.java +2 −0 Original line number Diff line number Diff line Loading @@ -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}) Loading Loading
api/current.txt +0 −6 Original line number Diff line number Diff line Loading @@ -2682,12 +2682,6 @@ package android.animation { package android.annotation { public abstract class NonNull implements java.lang.annotation.Annotation { } public abstract class Nullable implements java.lang.annotation.Annotation { } public abstract class SuppressLint implements java.lang.annotation.Annotation { }
core/java/android/annotation/NonNull.java +2 −0 Original line number Diff line number Diff line Loading @@ -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}) Loading
core/java/android/annotation/Nullable.java +2 −0 Original line number Diff line number Diff line Loading @@ -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}) Loading