| // Upstream version (this is a clean-room reimplementation of its interface): |
| // https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/annotation/NonNull.java |
| |
| package android.annotation; |
| |
| import java.lang.annotation.Documented; |
| import java.lang.annotation.ElementType; |
| import java.lang.annotation.Retention; |
| import java.lang.annotation.RetentionPolicy; |
| import java.lang.annotation.Target; |
| |
| @Documented |
| @Retention(RetentionPolicy.SOURCE) |
| @Target({ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD}) |
| public @interface NonNull {} |