{
for (String exportPackage : exportDescription.getPackageNames())
{
if (importPackage.equals(exportPackage))
{
results.add(new ExportDescriptionWrapper(exportDescription, candidate));
break;
}
}
}
}
else
{
UnBound unBound = (UnBound) candidate;
Generation generation = unBound.getToBeResolved();
for (ExportDescription exportDescription : generation.getArchiveStore().getExportDescriptions())
{
for (String exportPackage : exportDescription.getPackageNames())
{
if (importPackage.equals(exportPackage))
{
results.add(new ExportDescriptionWrapper(exportDescription, candidate));
break;
}
}
}
}