mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
- Support inside switch expression - Support rule-based labels - Support break inside expression - Suggest 'switch' keyword in expressions - Insert ':' or '->' depending on the switch type
9 lines
155 B
Java
9 lines
155 B
Java
public class ConstConfig {
|
|
enum X {FOO, BAR, BAZ}
|
|
|
|
void test(X x) {
|
|
switch (x) {
|
|
case BAR, FOO:<caret> {}
|
|
}
|
|
}
|
|
} |