mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
Adjust the completion variants for switch statements and expressions GitOrigin-RevId: 05119897b0eb72bb875097cd197f376534d15db9
21 lines
268 B
Java
21 lines
268 B
Java
|
|
class Main {
|
|
|
|
int f(Object o) {
|
|
return switch(o) {
|
|
case Integer i, null<caret>
|
|
}
|
|
}
|
|
|
|
int g(Object o) {
|
|
return switch(o) {
|
|
case null<caret>, Integer i
|
|
}
|
|
}
|
|
|
|
int h(Object o) {
|
|
return switch(o) {
|
|
case null<caret>
|
|
}
|
|
}
|
|
} |