void (@Nullable PyExpression expression, @NotNull @InspectionMessage String message) { if (PyPsiUtils.flattenParens(expression) instanceof PyAssignmentExpression) { getHolder() .newAnnotation(HighlightSeverity.ERROR, message) .range(expression) .create(); } }