ResolverExport exp = bundles[i].getExport(uses[k]); if (exp == null) continue; addConstraint(exports[j], exp); addTransitiveGroupingConstraints(exports[j], exp);
Object constraint = initBundles[i].getExport(uses[k]); if (constraint != null) { addConstraint(exports[j], constraint); addTransitiveGroupingConstraints(exports[j], (ResolverExport) constraint); } constraint = initBundles[i].getImport(uses[k]); if (constraint != null) addConstraint(exports[j], constraint);
	void addInitialGroupingConstraints(ResolverBundle[] bundles) {		for (int i = 0; i < bundles.length; i++) {			ResolverExport[] exports = bundles[i].getExportPackages();			for (int j = 0; j < exports.length; j++) {				String[] uses = (String[]) exports[j].getExportPackageDescription().getDirective(Constants.USES_DIRECTIVE);				if (uses == null)					continue;				for (int k = 0; k < uses.length; k++) {					ResolverExport exp = bundles[i].getExport(uses[k]);					if (exp == null)						continue;					addConstraint(exports[j], exp);					addTransitiveGroupingConstraints(exports[j], exp);				}			}		}	}