diff --git a/src/main/java/com/google/jspecify/nullness/NullSpecAnnotatedTypeFactory.java b/src/main/java/com/google/jspecify/nullness/NullSpecAnnotatedTypeFactory.java index a5bed35..9b07b20 100644 --- a/src/main/java/com/google/jspecify/nullness/NullSpecAnnotatedTypeFactory.java +++ b/src/main/java/com/google/jspecify/nullness/NullSpecAnnotatedTypeFactory.java @@ -1963,7 +1963,7 @@ private enum Present { "com.google.gerrit.common.Nullable", "com.google.protobuf.Internal.ProtoMethodAcceptsNullParameter", "com.google.protobuf.Internal.ProtoMethodMayReturnNull", - // TODO(cpovirk): Treat this like a @PolyNull instead: + // TODO(cpovirk): Give this proper @PolyNull behavior: "com.google.protobuf.Internal.ProtoPassThroughNullness", "com.mongodb.lang.Nullable", "com.sun.istack.Nullable", @@ -1995,6 +1995,8 @@ private enum Present { "org.checkerframework.checker.nullness.compatqual.NullableType", "org.checkerframework.checker.nullness.qual.MonotonicNonNull", "org.checkerframework.checker.nullness.qual.Nullable", + // TODO(cpovirk): Give this proper @PolyNull behavior: + "org.checkerframework.checker.nullness.qual.PolyNull", "org.codehaus.commons.nullanalysis.Nullable", "org.eclipse.jdt.annotation.Nullable", "org.eclipse.jgit.annotations.Nullable",