BundleDescription[] fragments = reference.getFragments(); for (int i = 0; i < fragments.length; i++) { if (fragments[i].isResolved()) { ExportPackageDescription[] exports = fragments[i].getExportPackages(); if (exports.length > 0) references.add(new Object[] {description, fragments[i]}); } }
	private void addReference(BundleDescription description, BundleDescription reference, List references) {		// build the reference from the description		if (description == reference || reference == null)			return;		references.add(new Object[] {description, reference});	}