Annotation Type PolyNull
-
@Documented @Retention(RUNTIME) @Target({TYPE_USE,TYPE_PARAMETER}) @PolymorphicQualifier(Nullable.class) public @interface PolyNull
A polymorphic qualifier for the non-null type system.Any method written using
PolyNull
conceptually has two versions: one in which every instance ofPolyNull
has been replaced byNonNull
, and one in which every instance ofPolyNull
has been replaced byNullable
.- See the Checker Framework Manual:
- Nullness Checker, Qualifier polymorphism