mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 02:39:37 +07:00
7 lines
180 B
Java
7 lines
180 B
Java
class A {
|
|
void test(Object obj) {
|
|
if (<selection>obj instanceof String s && s.trim().isEmpty()</selection>) {
|
|
System.out.println("Found");
|
|
}
|
|
}
|
|
} |