mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
9 lines
206 B
Java
9 lines
206 B
Java
// "Create inner record 'Point'" "true-preview"
|
|
class Test {
|
|
void foo(Object obj) {
|
|
if (obj instanceof Point(double x, double y)) {}
|
|
}
|
|
|
|
private record Point(double x, double y) {
|
|
}
|
|
} |