Annotation Interface Nullable


@Retention(RUNTIME) @Target(TYPE_USE) @Documented @Deprecated(since="4.0", forRemoval=true) public @interface Nullable
Deprecated, for removal: This API element is subject to removal in a future version.
Use Nullable instead.
Marker interface for types that accept null. I prefer that everything is not nullable except explicitely marked as such.

I never got around to finishing my nullability checker, so it is better to use one of many existing solutions. I started to use The Checker Framework in my projects.