}
public ManifestContents merge(ManifestContents existingManifest, ManifestContents manifestTemplate, ManifestContents contributedManifest,
ReadablePartialManifest partialManifest, List<String> templateOnlyHeaderNames) {
ManifestContents manifest = new SimpleManifestContents();
mergeManifests(manifest, existingManifest);
mergeManifests(manifest, manifestTemplate);
mergeManifests(manifest, contributedManifest);
BundleManifest resolved = this.partialManifestResolver.resolve(manifestTemplate, partialManifest);