blob: e1964923d215490f4484b38cb14e10f49c1814cb [file]
class X {
void test(Object obj) {
if (<selection>obj instanceof String s && s.length() > 5</selection>) {
System.out.println("found");
}
}
}