Skip to content

Commit

Permalink
Add more nullness annotations to our list.
Browse files Browse the repository at this point in the history
The additional annotations in this commit are taken from j2cl.
  • Loading branch information
cpovirk committed Sep 27, 2022
1 parent 9d228d8 commit 0ab814a
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1928,12 +1928,16 @@ private enum Present {
"com.sun.istack.Nullable",
"com.sun.istack.internal.Nullable",
"com.unboundid.util.Nullable",
"edu.umd.cs.findbugs.annotations.CheckForNull",
"edu.umd.cs.findbugs.annotations.Nullable",
"edu.umd.cs.findbugs.annotations.PossiblyNull",
"edu.umd.cs.findbugs.annotations.UnknownNullnes",
"io.micrometer.core.lang.Nullable",
"io.reactivex.annotations.Nullable",
"io.reactivex.rxjava3.annotations.Nullable",
"javax.annotation.CheckForNull",
"javax.annotation.Nullable",
"jsinterop.annotations.JsNullable",
"junitparams.converters.Nullable",
"libcore.util.Nullable",
"org.apache.avro.reflect.Nullable",
Expand All @@ -1942,9 +1946,15 @@ private enum Present {
"org.checkerframework.checker.nullness.compatqual.NullableDecl",
"org.checkerframework.checker.nullness.compatqual.NullableType",
"org.checkerframework.checker.nullness.qual.Nullable",
"org.codehaus.commons.nullanalysis.Nullable",
"org.eclipse.jdt.annotation.Nullable",
"org.eclipse.jgit.annotations.Nullable",
"org.jetbrains.annotations.Nullable",
"org.jmlspecs.annotation.Nullable",
"org.jspecify.nullness.Nullable",
"org.netbeans.api.annotations.common.CheckForNull",
"org.netbeans.api.annotations.common.NullAllowed",
"org.netbeans.api.annotations.common.NullUnknown",
"org.springframework.lang.Nullable",
"reactor.util.annotation.Nullable",
}));
Expand All @@ -1956,6 +1966,7 @@ private enum Present {
"android.annotation.NonNull",
"android.support.annotation.NonNull",
"androidx.annotation.NonNull",
"androidx.annotation.RecentlyNonNull",
"com.android.annotations.NonNull",
"com.google.firebase.database.annotations.NotNull",
"com.google.firebase.internal.NonNull",
Expand All @@ -1968,15 +1979,22 @@ private enum Present {
"io.reactivex.rxjava3.annotations.NonNull",
"javax.annotation.Nonnull",
"javax.validation.constraints.NotNull",
"jsinterop.annotations.JsNonNull",
"libcore.util.NonNull",
"lombok.NonNull",
"org.antlr.v4.runtime.misc.NotNull",
"org.checkerframework.checker.nullness.compatqual.NonNullDecl",
"org.checkerframework.checker.nullness.compatqual.NonNullType",
"org.checkerframework.checker.nullness.qual.NonNull",
"org.codehaus.commons.nullanalysis.NotNull",
"org.eclipse.jdt.annotation.NonNull",
"org.eclipse.jgit.annotations.NonNull",
"org.eclipse.lsp4j.jsonrpc.validation.NonNull",
"org.jetbrains.annotations.NotNull",
"org.jmlspecs.annotation.NonNull",
"org.jspecify.nullness.NonNull",
"org.netbeans.api.annotations.common.NonNull",
"org.springframework.lang.NonNull",
"reactor.util.annotation.NonNull",
}));
}

0 comments on commit 0ab814a

Please sign in to comment.