StringBuilder (@Nullable PsiExpression expression, StringBuilder out, CommentTracker tracker) { if (expression instanceof PsiAssignmentExpression) { buildSimplifiedAssignmentExpression((PsiAssignmentExpression)expression, out, tracker); } else if (expression instanceof PsiPolyadicExpression) { buildSimplifiedPolyadicExpression((PsiPolyadicExpression)expression, out, tracker); } else if (expression instanceof PsiPrefixExpression) { buildSimplifiedPrefixExpression((PsiPrefixExpression)expression, out, tracker); } else if (expression instanceof PsiParenthesizedExpression parenthesizedExpression) { final PsiExpression expression1 = parenthesizedExpression.getExpression(); out.append('('); buildSimplifiedExpression(expression1, out, tracker); out.append(')'); } else if (expression != null) { out.append(tracker.text(expression)); } return out; }