void (@Nullable PyExpression expression, @NotNull @InspectionMessage String message) { PsiTreeUtil .findChildrenOfType(expression, PyAssignmentExpression.class) .forEach(it -> checkNotAssignmentExpression(it, message)); }