boolean (@Nullable PsiExpression expression) { if (expression == null) { return false; } PsiExpression downExpression = PsiUtil.skipParenthesizedExprDown(expression); if (!(downExpression instanceof PsiMethodCallExpression psiMethodCallExpression)) { return false; } return isToStringCall(psiMethodCallExpression) && isCallToStringBuilderMethod(psiMethodCallExpression); }