def METHOD_NAME(self, old_var: Var, new_var: Var) -> None:
    """
    Replace all uses of old_var with new_var.
    Parameters
    ----------
    old_var : Var
        The old variable to replace.
    new_var : Var
        The new variable to replace with.
    """
    _ffi_api.dfb_rewrite_replace_all_uses(self, old_var, new_var)  # type: ignore