mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 18:13:59 +07:00
GitOrigin-RevId: 7cbdb09cfedc23c73fa35841b9fd7fa53f1bd969
12 lines
287 B
Java
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;
|
|
}
|
|
} |