mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
14 lines
277 B
Java
14 lines
277 B
Java
class A {
|
|
private void A(X x) {
|
|
switch (x) {
|
|
case A:
|
|
System.out.println(1);
|
|
break;
|
|
case <selection>B</selection>:
|
|
System.out.println(2);
|
|
break;
|
|
}
|
|
|
|
}
|
|
}
|
|
enum X {A,B,C} |