mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-13 14:36:58 +07:00
14 lines
297 B
Java
14 lines
297 B
Java
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class Test {
|
|
void test(){
|
|
@Nullable String s = null;
|
|
if (s == null) return;
|
|
newMethod(s);
|
|
}
|
|
|
|
private void newMethod(@NotNull String s) {
|
|
System.out.println(s);
|
|
}
|
|
} |