// "Unwrap 'if' statement" "true-preview"
class X {
    public String testUnwrap(String f) {
        switch (f) {
            case "A":
                return "A";
            case "B":
                if (t<caret>rue) {
                  return "b";
                }
            case "D":
                return "D";
            default:
                return null;
        }
    }
}