void (@NotNull PyComprehensionElement node) { final String targetMessage = message("ANN.assignment.expression.as.a.target"); final String iterableMessage = message("ANN.assignment.expression.in.an.iterable"); node.getForComponents().forEach( it -> { checkNotAssignmentExpression(it.getIteratorVariable(), targetMessage); checkNoAssignmentExpressionAsChild(it.getIteratedList(), iterableMessage); } ); }