summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/invertIfCondition/beforeWhile2.java
blob: d611006e54f19491e5fd69880e09ec787852ac0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// "Invert If Condition" "true"
class A {
    public void foo() {
        while (true) {
            if (c) {
                <caret>if (d) {
                    a();
                    break;
                }
            }
            else if (e) {
            }
        }
    }
}