void (@NotNull PsiSwitchExpression switchExpression) { myBuf.append("switch ("); final PsiExpression expression = switchExpression.getExpression(); if (expression != null) { expression.accept(this); } myBuf.append(") {...}"); }