liquibase-core/src/main/java/liquibase/change/AbstractChange.java
@Override
    public boolean generateStatementsVolatile(Database database) {
        SqlStatement[] statements = generateStatements(database);
        if (statements == null) {
            return false;
        }
        for (SqlStatement statement : statements) {
            if (SqlGeneratorFactory.getInstance().generateStatementsVolatile(statement, database)) {
                return true;
            }
        }
        return false;
    }
@Override
    public boolean generateStatementsVolatile(Database database) {
        SqlStatement[] statements = generateStatements(database);
        if (statements == null) {
            return false;
        }
        for (SqlStatement statement : statements) {
            if (SqlGeneratorFactory.getInstance().generateStatementsVolatile(statement, database)) {
                return true;
            }
        }
        return false;
    }
Implementation delegates logic to the
{@link liquibase.sqlgenerator.SqlGenerator#generateStatementsIsVolatile(Database) } method on the
{@link SqlStatement} objects returned by {@link #generateStatements }.
If zero or null SqlStatements are returned by generateStatements then this method returns false.