def METHOD_NAME(self, fix: "LintFix") -> None:
    """Adds the fix and updates stats.
    We also allow potentially multiple source fixes on the same
    anchor by condensing them together here.
    """
    if fix in self.fixes:
        # Deduplicate fixes in case it's already in there.
        return
    if fix.is_just_source_edit():
        assert fix.edit
        # is_just_source_edit confirms there will be a list
        # so we can hint that to mypy.
        self.source_fixes += fix.edit[0].source_fixes
        # is there already a replace?
        if self._first_replace:
            assert self._first_replace.edit
            # is_just_source_edit confirms there will be a list
            # and that's the only way to get into _first_replace
            # if it's populated so we can hint that to mypy.
            linter_logger.info(
                "Multiple edits detected, condensing %s onto %s",
                fix,
                self._first_replace,
            )
            self._first_replace.edit[0] = self._first_replace.edit[0].edit(
                source_fixes=self.source_fixes
            )
            linter_logger.info("Condensed fix: %s", self._first_replace)
            # Return without otherwise adding in this fix.
            return
    self.fixes.append(fix)
    if fix.edit_type == "replace" and not self._first_replace:
        self._first_replace = fix
    setattr(self, fix.edit_type, getattr(self, fix.edit_type) + 1)