ArrayList list = (ArrayList) constraints.get(export); if (list.contains(exp))
ArrayList list = getConstraints(export); if (list != null && list.contains(newConstraint))
	private void addTransitiveGroupingConstraints(ResolverExport export, ResolverExport constraint) {		if (export == constraint)			return;		String[] uses = (String[]) constraint.getExportPackageDescription().getDirective(Constants.USES_DIRECTIVE);		if (uses == null)			return;		for (int i = 0; i < uses.length; i++) {			ResolverExport exp = export.getExporter().getExport(uses[i]);			if (exp == null || exp == constraint)				continue;			// Check if the constraint has already been added so			// we don't recurse infinitely			ArrayList list = (ArrayList) constraints.get(export);			if (list.contains(exp))				continue;			addConstraint(export, exp);			addTransitiveGroupingConstraints(export, exp);		}	}