You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will be a significant challenge in general, but maybe we can handle the common cases and do something useful without having a full technique. See here for one test case:
@NullMarked
public class Foo {
public static class Key<T extends @Nullable Object> {}
private static final Key<@Nullable Foo> KEY = new Key();
public static <T extends @Nullable Object> void setValue(Key<T> key, T value) {
}
public static void main() {
setValue(KEY, null);
}
}
This will be a significant challenge in general, but maybe we can handle the common cases and do something useful without having a full technique. See here for one test case:
NullAway/nullaway/src/test/java/com/uber/nullaway/jspecify/GenericMethodTests.java
Line 137 in 7a3d088
The text was updated successfully, but these errors were encountered: