mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
9 lines
213 B
Java
9 lines
213 B
Java
// "Create method 'isEmpty' in 'Main'" "true-preview"
|
|
class Main {
|
|
void foo(Object obj) {
|
|
switch (obj) {
|
|
case String s && isEmpt<caret>y(s) -> {}
|
|
default -> {}
|
|
}
|
|
}
|
|
} |