}
private Set<PackageBundlePair> getDynamicImportingPairs(PackageAdmin packageAdmin, Bundle bundle, Set<String> wiredPackages) {
BundleDescription description = new BundleDescription(bundle.getHeaders());
Set<PackageBundlePair> dynamicImportingPairs = new HashSet<PackageBundlePair>();
if (!description.getDynamicImportPackage().isEmpty()) {
for (Bundle b : bundle.getBundleContext().getBundles()) {
// find the packages that importing from the bundle
ExportedPackage[] exportedPackages = packageAdmin.getExportedPackages(b);
if (exportedPackages != null) {