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

14 lines
228 B
Java

// "Invert 'if' condition" "true"
class A {
public boolean accept() {
boolean xx = true;
switch (1) {
case 0:
<caret>if (xx) {
return true;
}
break;
}
return false;
}
}