mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
9 lines
239 B
Java
9 lines
239 B
Java
// "Create parameter 'flag'" "true-preview"
|
|
class Foo {
|
|
void test(Object obj) {
|
|
switch (obj) {
|
|
case String s when flag<caret> -> System.out.println(1);
|
|
default -> System.out.println(2);
|
|
}
|
|
}
|
|
} |