def METHOD_NAME(self, expr: Expr, name: Optional[str] = None, is_dfvar: bool = False) -> None:
    """
    Add a new statement to the DataflowBlock with an automatically generated variable name.
    Parameters
    ----------
    expr : Expr
        The expression to add.
    name : Optional[str], optional
        Variable name, by default None
    is_dfvar : bool, optional
        The variable type, by default False
    Notes
    -----
    If the variable name is not given, it will be automatically generated in a form of
    "tmp${COUNTER}". The variable type will be DataflowVar if is_dfvar is True, otherwise
    it will be Var. Being Var means the variables are output variables of the DataflowBlock.
    While being DataflowVar means the variables are internal variables of the DataflowBlock.
    """
    _ffi_api.dfb_rewrite_add(self, expr, name, is_dfvar)  # type: ignore