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

13 lines
354 B
Java

// "Invert 'if' condition" "true"
class Main {
boolean method(boolean a, boolean b) {
for (int i = 1; i < 10; i++)
if (a) {
if (b) /* comment 1 */ {
continue;
}
return true; /* comment 2 */
}
return false; /* comment 3 */
}
}