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