mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-07 19:36:56 +07:00
10 lines
188 B
Java
10 lines
188 B
Java
record R(int x, int y){}
|
|
class Test{
|
|
void foo(Object o) {
|
|
switch(o){
|
|
case R(int w, int c) s -> System.out.println(s<caret>);
|
|
default -> System.out.println()
|
|
}
|
|
}
|
|
}
|