PsiExpression (@Nullable PsiExpression expression) { while (expression instanceof PsiMethodCallExpression callExpression) { if (ASSERTJ_ASSERT_THAT.test(callExpression)) return callExpression.getArgumentList().getExpressions()[0]; PsiReferenceExpression reference = callExpression.getMethodExpression(); expression = reference.getQualifierExpression(); expression = PsiUtil.skipParenthesizedExprDown(expression); } return null; }