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