mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 04:44:53 +07:00
GitOrigin-RevId: 41257880f78e6cb7d301e75b8453baeb6780b57d
13 lines
178 B
Java
13 lines
178 B
Java
class X {
|
|
enum E {A}
|
|
|
|
void print(E e) {
|
|
int p = switch (e) {
|
|
case A -> ans<caret>wer();
|
|
}
|
|
}
|
|
|
|
int answer() {
|
|
return 42;
|
|
}
|
|
} |