static ExportPackageDescription[] createExportPackages(ManifestElement[] exported, ManifestElement[] reexported, ManifestElement[] provides, ArrayList providedExports, int manifestVersion) throws BundleException {
static ExportPackageDescription[] createExportPackages(ManifestElement[] exported, ManifestElement[] reexported, ManifestElement[] provides, ArrayList providedExports, int manifestVersion, boolean strict) throws BundleException {
	static ExportPackageDescription[] createExportPackages(ManifestElement[] exported, ManifestElement[] reexported, ManifestElement[] provides, ArrayList providedExports, int manifestVersion) throws BundleException {		int numExports = (exported == null ? 0 : exported.length) + (reexported == null ? 0 : reexported.length) + (provides == null ? 0 : provides.length);		if (numExports == 0)			return null;		ArrayList allExports = new ArrayList(numExports);		if (exported != null)			for (int i = 0; i < exported.length; i++)				addExportPackages(exported[i], allExports, manifestVersion, false);		if (reexported != null)			for (int i = 0; i < reexported.length; i++)				addExportPackages(reexported[i], allExports, manifestVersion, true);		if (provides != null)			addProvidePackages(provides, allExports, providedExports);		return (ExportPackageDescription[]) allExports.toArray(new ExportPackageDescription[allExports.size()]);	}