mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 12:20:55 +07:00
- offer classes and interfaces - offer `default` after `case null,` GitOrigin-RevId: f1d0567efeafcd5320db88089bab7eb1dbe17b9f
12 lines
219 B
Java
12 lines
219 B
Java
import static C.AA.*;
|
|
class C {
|
|
enum AA {Abc}
|
|
|
|
public static void main(AA a) {
|
|
switch (a) {
|
|
//simple 'A' can be associated with enum AA, it is allowed started from Java 21
|
|
case Ab<caret>
|
|
|
|
}
|
|
}
|
|
} |