mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
195 B
Java
10 lines
195 B
Java
record R(int x, int y){}
|
|
class Test{
|
|
void foo(Object o) {
|
|
switch(o){
|
|
case R(int w, int <caret>c) when c > 0 -> System.out.println();
|
|
default -> System.out.println()
|
|
}
|
|
}
|
|
}
|