String     refName  = targetFk.getForeignTable().getName();
String     refName  = targetFk.getForeignTableName();
    private void addRelevantFKsFromUnchangedTables(Database currentModel,                                                   Database desiredModel,                                                   Set      namesOfKnownChangedTables,                                                   Map      fksPerTable)    {        boolean caseSensitive = getPlatform().isDelimitedIdentifierModeOn();        for (int tableIdx = 0; tableIdx < desiredModel.getTableCount(); tableIdx++)        {            Table  targetTable = desiredModel.getTable(tableIdx);            String name        = targetTable.getName();            Table  sourceTable = currentModel.findTable(name, caseSensitive);            List   relevantFks = null;            if (!caseSensitive)            {                name = name.toUpperCase();            }            if ((sourceTable != null) && !namesOfKnownChangedTables.contains(name))            {                for (int fkIdx = 0; fkIdx < targetTable.getForeignKeyCount(); fkIdx++)                {                    ForeignKey targetFk = targetTable.getForeignKey(fkIdx);                    ForeignKey sourceFk = sourceTable.findForeignKey(targetFk, caseSensitive);                    String     refName  = targetFk.getForeignTable().getName();                    if (!caseSensitive)                    {                        refName = refName.toUpperCase();                    }                    if ((sourceFk != null) && namesOfKnownChangedTables.contains(refName))                    {                        if (relevantFks == null)                        {                            relevantFks = new ArrayList();                            fksPerTable.put(name, relevantFks);                        }                        relevantFks.add(targetFk);                    }                }            }        }    }