mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +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");
|
|
}
|
|
}
|
|
} |