void (PsiNewExpression expression) { final PsiExpressionList argumentList = expression.getArgumentList(); if (argumentList == null) { return; } final PsiExpression[] arguments = argumentList.getExpressions(); if (anyIsRunnable(arguments)) { return; } registerNewExpressionError(expression); }