void (@NotNull PyArgumentList node) { if (node.getArguments().length > 1) { for (PyExpression expression : node.getArguments()) { if (expression instanceof PyGeneratorExpression) { ASTNode firstChildNode = expression.getNode().getFirstChildNode(); if (firstChildNode.getElementType() != PyTokenTypes.LPAR) { markError(expression, PyPsiBundle.message("ANN.generator.expression.must.be.parenthesized.if.not.sole.argument")); } } } } }