blob: 2ceef69bc6c8b5cb3916c9d3d068140e7d6fcfde [file]
class X {
void test(Object obj) {
if (obj instanceof String a) {
System.out.println(<selection>a.length()</selection>);
}
}
}