Files
openide/java/java-tests/testData/codeInsight/invertIfCondition/beforeDeleteIf.java

11 lines
223 B
Java

// "Invert 'if' condition" "true"
class A {
int test(int x) {
return switch (x) {
case 1:
if (Math.ran<caret>dom() > 0.5) {
br
}
};
}
}