mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user