code: public static Sql[] getAlterTableSqls(Database database, SQLiteDatabase.AlterTableVisitor alterTableVisitor,
                                            String catalogName, String schemaName, String tableName) {
          Sql[] generatedSqls;
          try {
              List<SqlStatement> statements = SQLiteDatabase.getAlterTableStatements(alterTableVisitor, database,
                      catalogName, schemaName, tableName);
              // convert from SqlStatement to Sql
              SqlStatement[] sqlStatements = new SqlStatement[statements.size()];
              sqlStatements = statements.toArray(sqlStatements);
              generatedSqls = SqlGeneratorFactory.getInstance().generateSql(sqlStatements, database);
          } catch (DatabaseException e) {
              throw new UnexpectedLiquibaseException(e);
          }
          return generatedSqls;
      }
docs: Uses {@link SqlGeneratorFactory} to generate {@link Sql} for the specified visitor and db objects.
  
  @param database
  @param alterTableVisitor
  @param catalogName
  @param schemaName
  @param tableName
  @return