mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 00:50:53 +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);
|
|
}
|
|
} |