// "Remove redundant 'else'" "true-preview"
class T {
    void three(boolean b) {
        switch (3) {
            case 2:
                if (foo()) {
                    return;
                }
                else<caret> {
                    return;
                }
            case 3:
        }
    }
}