Add RecentlyNullable and RecentlyNonNull to nullable list

These two new magic names are also known to the
Kotlin compiler as nullness annotations representing
recently migrated nulls, which will be treated as
warnings rather than errors when violated.
This commit is contained in:
Tor Norbye
2018-07-10 07:17:35 +02:00
committed by peter
parent 1e170960b6
commit 42d3e22893
@@ -40,6 +40,7 @@ public abstract class NullableNotNullManager {
"edu.umd.cs.findbugs.annotations.Nullable",
"android.support.annotation.Nullable",
"androidx.annotation.Nullable",
"androidx.annotation.RecentlyNullable",
"org.checkerframework.checker.nullness.qual.Nullable",
"org.checkerframework.checker.nullness.compatqual.NullableDecl",
"org.checkerframework.checker.nullness.compatqual.NullableType"
@@ -51,6 +52,7 @@ public abstract class NullableNotNullManager {
"edu.umd.cs.findbugs.annotations.NonNull",
"android.support.annotation.NonNull",
"androidx.annotation.NonNull",
"androidx.annotation.RecentlyNonNull",
"org.checkerframework.checker.nullness.qual.NonNull",
"org.checkerframework.checker.nullness.compatqual.NonNullDecl",
"org.checkerframework.checker.nullness.compatqual.NonNullType"