void (IfStatementBranch branch, boolean castToInt, boolean wrap, boolean renameBreaks, String breakLabelName, @NonNls StringBuilder switchStatementText) { dumpComments(branch.getComments(), switchStatementText); for (PsiExpression caseExpression : branch.getCaseExpressions()) { if (caseExpression instanceof PsiLiteralExpression literalExpression && PsiTypes.nullType().equals(literalExpression.getType())) { switchStatementText.append("case null:"); } else { switchStatementText.append("case ").append(getCaseLabelText(caseExpression, castToInt)).append(": "); } } if (branch.isElse()) { switchStatementText.append("default: "); } dumpComments(branch.getStatementComments(), switchStatementText); dumpBody(branch.getStatement(), wrap, renameBreaks, breakLabelName, switchStatementText); }