mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:20:55 +07:00
9 lines
191 B
Java
9 lines
191 B
Java
// "Create record 'Point'" "true-preview"
|
|
class Test {
|
|
void foo(Object obj) {
|
|
if (obj instanceof Point(double x, double y)) {}
|
|
}
|
|
}
|
|
|
|
public record Point(double x, double y) {
|
|
} |