checkers.nullness.quals
Annotation Type PolyNull


@Documented
@TypeQualifier
@Retention(value=RUNTIME)
@Target(value={FIELD,LOCAL_VARIABLE,METHOD,PARAMETER,TYPE})
public @interface PolyNull

A polymorphic qualifier for the Nullness type system.

Any method written using @PolyNull conceptually has two versions: one in which every instance of @PolyNull has been replaced by @NonNull, and one in which every instance of @PolyNull has been replaced by @Nullable.