public CreateTableClause references(String table, String... parentColumns) {
        ForeignKeyData foreignKey = new ForeignKeyData(name, templates.quoteIdentifier(table));
        for (int i = 0; i < parentColumns.length; i++) {
            foreignKey.add(
                templates.quoteIdentifier(foreignColumns[i]),
                templates.quoteIdentifier(parentColumns[i]));
        }
        foreignKeys.add(foreignKey);
        return clause;
    }
ForeignKeyBuilder is part of the fluent interface of CreateTableClause

@author tiwe
querydsl-sql/src/test/java/com/querydsl/sql/ddl/ForeignKeyBuilder.java