if (!symbolicName.equals(candidateExport.getCandidate().getGeneration().getSymbolicName())) return false;
}
if (importParameters.containsKey(Constants.BUNDLE_VERSION_ATTRIBUTE))
{
VersionRange range = (VersionRange) importParameters.get(Constants.BUNDLE_VERSION_ATTRIBUTE);
if (!range.includes(candidateExport.getCandidate().getGeneration().getVersion())) return false;
}
Set<String> importKeys = new HashSet<String>(importParameters.keySet());
importKeys.removeAll(Arrays.asList(Constants.VERSION_ATTRIBUTE, Constants.PACKAGE_SPECIFICATION_VERSION, Constants.BUNDLE_SYMBOLICNAME_ATTRIBUTE, Constants.BUNDLE_VERSION_ATTRIBUTE, Constants.MANDATORY_DIRECTIVE));
importKeys.removeAll(exportDescription.getMandatory());