class AlterTableReroute<T> extends Statement {

    private final Table<T> table;
    private final RerouteOption rerouteOption;
    private final boolean blob;

    public AlterTableReroute(Table<T> table,
                             boolean blob,
                             RerouteOption rerouteOption) {
        this.table = table;
        this.blob = blob;
        this.rerouteOption = rerouteOption;
    }

    public Table<T> table() {
        return table;
    }

    public boolean blob() {
        return blob;
    }

    public RerouteOption rerouteOption() {
        return rerouteOption;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        AlterTableReroute<?> that = (AlterTableReroute<?>) o;
        return blob == that.blob &&
               Objects.equals(table, that.table) &&
               Objects.equals(rerouteOption, that.rerouteOption);
    }

    @Override
    public int hashCode() {
        return Objects.hash(table, rerouteOption, blob);
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}

    @Override
    public <R, C> R accept(AstVisitor<R, C> visitor, C context) {
        return visitor.visitAlterTableReroute(this, context);
    }
}

        return "AlterTableReroute{" +
               "table=" + table +
               ", blob=" + blob +
               ", reroute option=" + rerouteOption +
               '}';
    
<methods>public non-sealed void <init>() ,public R accept(AstVisitor<R,C>, C) <variables>