mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 03:37:58 +07:00
[java-completion] IDEA-335904 Completion in enhanced switch for enum
- offer classes and interfaces - offer `default` after `case null,` GitOrigin-RevId: f1d0567efeafcd5320db88089bab7eb1dbe17b9f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7cfd4a4659
commit
0939782a59
@@ -0,0 +1,11 @@
|
||||
class Main {
|
||||
enum Numbers{ONE, TWO}
|
||||
|
||||
private static void testEnum2(Object r2) {
|
||||
switch (r2) {
|
||||
case Numbers.ONE:
|
||||
break;
|
||||
case null, <caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user