Files
2019-12-23 07:32:22 +00:00

12 lines
287 B
Java

import org.jetbrains.annotations.Nullable;
// IDEA-229498
class Test {
public void testGet() {
int x = (int) <warning descr="Unboxing of 'get(\"foo\")' may produce 'NullPointerException'">get("foo")</warning>;
}
@Nullable
public Object get(Object t) {
return null;
}
}