GenericSpecification[] generics = bundle.getGenericRequires(); for (int i = 0; i < generics.length; i++) if (!generics[i].isResolved() && !isResolvable(generics[i])) unsatisfied.add(generics[i]);
	public VersionConstraint[] getUnsatisfiedConstraints(BundleDescription bundle) {		State containingState = bundle.getContainingState();		if (containingState == null)			// it is a bug in the client to call this method when not attached to a state			throw new IllegalStateException("Does not belong to a state"); //$NON-NLS-1$				List unsatisfied = new ArrayList();		HostSpecification host = bundle.getHost();		if (host != null)			if (!host.isResolved() && !isResolvable(host))				unsatisfied.add(host);		BundleSpecification[] requiredBundles = bundle.getRequiredBundles();		for (int i = 0; i < requiredBundles.length; i++)			if (!requiredBundles[i].isResolved() && !isResolvable(requiredBundles[i]))				unsatisfied.add(requiredBundles[i]);		ImportPackageSpecification[] packages = bundle.getImportPackages();		for (int i = 0; i < packages.length; i++)			if (!packages[i].isResolved() && !isResolvable(packages[i]))				unsatisfied.add(packages[i]);		return (VersionConstraint[]) unsatisfied.toArray(new VersionConstraint[unsatisfied.size()]);	}