static List<BundleRequirement> parseImportPackage(String importPackageString)
			throws BundleException {
		Map<String, Object> headerMap = new HashMap<>();
		// assume version 2 for a more robust parse
		headerMap.put(Constants.BUNDLE_MANIFESTVERSION, "2");
		// symbolic name is required for version 2 bundle manifest
		headerMap.put(Constants.BUNDLE_SYMBOLICNAME, Constants.SYSTEM_BUNDLE_SYMBOLICNAME);
		headerMap.put(Constants.IMPORT_PACKAGE, importPackageString);
		ManifestParser manifestParser = new ManifestParser(null, null, null, headerMap);
		return manifestParser.getRequirements();
	}
parse Import-Package string from a bundle manifest

@param importPackageString Import-Package value
@return deduced requirements or null if there was an error
@throws BundleException on parse failure
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/OSGiUtils.java