mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
[java][switch completion] IDEA-270439 Code completion for pattern matching in switch
Adjust the completion variants for switch statements and expressions GitOrigin-RevId: 05119897b0eb72bb875097cd197f376534d15db9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1e0a217143
commit
afc2a8cd37
@@ -0,0 +1,20 @@
|
||||
|
||||
class Main {
|
||||
void f(Object o) {
|
||||
switch(o) {
|
||||
case Integer integer && integer<caret>, null
|
||||
}
|
||||
}
|
||||
|
||||
void g(Object o) {
|
||||
switch(o) {
|
||||
case null, Integer integer && integer<caret>
|
||||
}
|
||||
}
|
||||
|
||||
void h(Object o) {
|
||||
switch(o) {
|
||||
case Integer integer && integer<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user