class AddAutoIncrementGeneratorMySQL extends AddAutoIncrementGenerator {

    @Override
    public int getPriority() {
        return PRIORITY_DATABASE;
    }

    @Override
    public boolean supports(AddAutoIncrementStatement statement, Database database) {
        return database instanceof MySQLDatabase;
    }

    @Override
    public Sql[] generateSql(final AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) {<FILL_FUNCTION_BODY>}

    @Override
    public ValidationErrors validate(AddAutoIncrementStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain) {
        ValidationErrors validationErrors = super.validate(statement, database, sqlGeneratorChain);
        validationErrors.checkDisallowedField("incrementBy", statement.getIncrementBy(), database, MySQLDatabase.class);
        return validationErrors;
    }

    private Sql[] concat(Sql[] origSql, UnparsedSql unparsedSql) {
        Sql[] changedSql = new Sql[origSql.length+1];
        System.arraycopy(origSql, 0, changedSql, 0, origSql.length);
        changedSql[origSql.length] = unparsedSql;

        return changedSql;
    }

    private DatabaseObject getAffectedTable(AddAutoIncrementStatement statement) {
        return new Table().setName(statement.getTableName()).setSchema(new Schema(statement.getCatalogName(), statement.getSchemaName()));
    }
}


        Sql[] sql = super.generateSql(statement, database, sqlGeneratorChain);

        if(statement.getStartWith() != null){
            MySQLDatabase mysqlDatabase = (MySQLDatabase)database;
            String alterTableSql = "ALTER TABLE "
                + mysqlDatabase.escapeTableName(statement.getCatalogName(), statement.getSchemaName(), statement.getTableName())
                + " "
                + mysqlDatabase.getTableOptionAutoIncrementStartWithClause(statement.getStartWith());

            sql = concat(sql, new UnparsedSql(alterTableSql, getAffectedTable(statement)));
        }

        return sql;
    
<methods>public non-sealed void <init>() ,public liquibase.sql.Sql[] generateSql(liquibase.statement.core.AddAutoIncrementStatement, liquibase.database.Database, SqlGeneratorChain#RAW) ,public int getPriority() ,public boolean supports(liquibase.statement.core.AddAutoIncrementStatement, liquibase.database.Database) ,public liquibase.exception.ValidationErrors validate(liquibase.statement.core.AddAutoIncrementStatement, liquibase.database.Database, SqlGeneratorChain#RAW) <variables>