boolean (@NotNull PsiCallExpression call, @Nullable PsiExpression qualifier) { PsiExpressionList argumentList = call.getArgumentList(); if (argumentList != null) { for (PsiExpression argument : argumentList.getExpressions()) { if (mayHaveSideEffect(argument)) return true; } } return mayHaveSideEffect(qualifier); }