private void populate(@Nonnull Workspace workspace) {
			// If shading libs, they go first so the primary content will be the authoritative copy for
			// any duplicate paths held by both resources.
			if (bundleSupporting) {
				for (WorkspaceResource supportingResource : workspace.getSupportingResources()) {
					mapInto(contents, supportingResource);
				}
			}
			WorkspaceResource primary = workspace.getPrimaryResource();
			mapInto(contents, primary);

			// If the resource had prefix data, get it here so that we can write it back later.
			if (primary instanceof WorkspaceFileResource resource)
				prefix = ZipPrefixDataProperty.get(resource.getFileInfo());
		}
@param workspace
		Workspace to pull data from.
recaf-core/src/main/java/software/coley/recaf/services/workspace/io/WorkspaceExportOptions.java