BundleDescriptionImpl bundle; if (dependency instanceof ExportPackageDescription) bundle = (BundleDescriptionImpl) ((ExportPackageDescription) dependency).getExporter(); else bundle = (BundleDescriptionImpl) dependency;
BundleDescriptionImpl bundle = (BundleDescriptionImpl) dependency.getSupplier();
	protected synchronized void addDependency(BaseDescriptionImpl dependency) {		BundleDescriptionImpl bundle;		if (dependency instanceof ExportPackageDescription)			bundle = (BundleDescriptionImpl) ((ExportPackageDescription) dependency).getExporter();		else			bundle = (BundleDescriptionImpl) dependency;		if (bundle == this)			return;		if (dependencies == null)			dependencies = new ArrayList(10);		if (!dependencies.contains(bundle)) {			bundle.addDependent(this);			dependencies.add(bundle);		}	}