mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-26 01:05:04 +07:00
6ea7ea44c2
- Support inside switch expression - Support rule-based labels - Support break inside expression - Suggest 'switch' keyword in expressions - Insert ':' or '->' depending on the switch type
8 lines
166 B
Java
8 lines
166 B
Java
public class ConstConfig {
|
|
int test(int x) {
|
|
return switch (x) {
|
|
case 1:
|
|
if (Math.random() > 0.5) br<caret>
|
|
};
|
|
}
|
|
} |