mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
- offer classes and interfaces - offer `default` after `case null,` GitOrigin-RevId: f1d0567efeafcd5320db88089bab7eb1dbe17b9f
13 lines
238 B
Java
13 lines
238 B
Java
class Test {
|
|
void m(E e) {
|
|
switch (e) {
|
|
case AAA:
|
|
//simple 'B' can be associated with Object, it is allowed started from Java 21
|
|
case BB<caret>
|
|
}
|
|
}
|
|
}
|
|
|
|
enum E {
|
|
AAA, BBB
|
|
} |