mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 11:44:39 +07:00
GitOrigin-RevId: ff3b4f3c7c01c2fb5aa90107037517653cadafa2
12 lines
304 B
Java
12 lines
304 B
Java
import org.jetbrains.annotations.Nullable;
|
|
|
|
interface Foo {
|
|
void test(@Nullable String s);
|
|
}
|
|
|
|
class Bar implements Foo {
|
|
@Override
|
|
public void test(String s) {
|
|
System.out.println(s.<warning descr="Method invocation 'trim' may produce 'NullPointerException'">trim</warning>());
|
|
}
|
|
} |