mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-24 11:26:03 +07:00
375b7b102f
IDEA-303300 GitOrigin-RevId: f4cd752f81987885a72b5da8d898f875a5198dcb
12 lines
282 B
Java
12 lines
282 B
Java
// "Create inner record 'Rect'" "true-preview"
|
|
class Test {
|
|
void foo(Object obj) {
|
|
switch (obj) {
|
|
case Rect(Point point1, Point(double x, double y)) -> {}
|
|
default -> {}
|
|
}
|
|
}
|
|
|
|
private record Rect(Point point1, Point point) {
|
|
}
|
|
} |