mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:08:53 +07:00
11 lines
298 B
Java
11 lines
298 B
Java
// "Remove 'if' statement extracting side effects" "true-preview"
|
|
class X {
|
|
void test() {
|
|
Object obj = "Hello from pattern matching";
|
|
String s = getString();
|
|
System.out.println(s);
|
|
System.out.println(s);
|
|
}
|
|
|
|
native @org.jetbrains.annotations.NotNull String getString();
|
|
} |