IDependency[] prereqs = new IDependency[dependencyCount];
List prereqs = new ArrayList(dependencyCount);
	private static IDependency[] createPrerequisites(BundleDescription bundleDesc, IDependencySystem system) {		BundleSpecification[] required = bundleDesc.getRequiredBundles();		HostSpecification host = bundleDesc.getHost();		int dependencyCount = required == null ? 0 : required.length;		if (host != null)			dependencyCount++;		if (dependencyCount == 0)			return new IDependency[0];		IDependency[] prereqs = new IDependency[dependencyCount];		for (int i = 0; i < required.length; i++)			prereqs[i] = createPrerequisite(system, required[i]);		if (host != null)			prereqs[prereqs.length - 1] = createPrerequisite(system, host);		return prereqs;	}