blob: 82c1e9122cc14735ca05bcd5c7946a696143508c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import org.jetbrains.annotations.Nullable;
class Test {
void method(@Nullable String o) {}
void method(@Nullable Integer o) {}
private void test(String foo) {
if (foo == null) {
method(<warning descr="Value 'foo' is always 'null'"><caret>foo</warning>);
}
}
}
|