mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
13 lines
201 B
Java
13 lines
201 B
Java
class X {
|
|
enum E {A}
|
|
|
|
void print(E e) {
|
|
switch (e) {
|
|
case A -> printT<caret>oInline(e);
|
|
}
|
|
}
|
|
|
|
void printToInline(E e) {
|
|
System.out.println(e);
|
|
}
|
|
} |