mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 21:52:48 +07:00
14 lines
434 B
Java
14 lines
434 B
Java
import org.jetbrains.annotations.*;
|
|
|
|
public class WrongParameter {
|
|
public boolean resolveAction(@NotNull Object action, @NotNull Object combatant, @NotNull Object userInputProvider) {
|
|
return false;
|
|
}
|
|
|
|
public void foo() {
|
|
resolveAction(
|
|
new Object(),
|
|
new Object(),
|
|
<warning descr="Passing 'null' argument to parameter annotated as @NotNull">null</warning>); // Last parameter should be highlighted
|
|
}
|
|
} |