Files
openide/java/java-tests/testData/codeInsight/completion/normal/CompleteSwitchSealedSelectorPostfix.java
Nikita Eshkeev 8df26f2b6f [postfix completion] IDEA-277334 Java 17 support: Postfix .switch doesn't work when selector expression is Object
Add tests for the switch postfix completion

GitOrigin-RevId: b1221d428e78221c3a2c3e128d24eefa4bd2bc0e
2021-09-09 10:03:29 +00:00

9 lines
140 B
Java

class Main {
int h(Sealed o) {
o.swit<caret>
}
public static sealed interface Sealed {}
public static final class Variant {}
}