mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
15 lines
305 B
Java
15 lines
305 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
public class Test {
|
|
void test(boolean condition) {
|
|
String s = getString();
|
|
if (condition) s = "new";
|
|
System.out.println(s);
|
|
}
|
|
|
|
@NotNull
|
|
private static String getString() {
|
|
String s = "42";
|
|
return s;
|
|
}
|
|
} |