mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
11 lines
259 B
Java
11 lines
259 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
class NotNullAnonymousConstructor {
|
|
void test() {
|
|
new Foo(<warning descr="Passing 'null' argument to parameter annotated as @NotNull">null</warning>) {};
|
|
}
|
|
|
|
class Foo {
|
|
Foo(@NotNull Object x) {}
|
|
}
|
|
} |