Files
openide/java/java-tests/testData/codeInsight/completion/normal/CompleteNullInSwitchStmt.java
Nikita Eshkeev afc2a8cd37 [java][switch completion] IDEA-270439 Code completion for pattern matching in switch
Adjust the completion variants for switch statements and expressions

GitOrigin-RevId: 05119897b0eb72bb875097cd197f376534d15db9
2021-07-13 19:51:15 +00:00

21 lines
247 B
Java

class Main {
void f(Object o) {
switch(o) {
case Integer i, nul<caret>
}
}
void g(Object o) {
switch(o) {
case nul<caret>, Integer i
}
}
void h(Object o) {
switch(o) {
case nul<caret>
}
}
}