public void exportPackage(@Nonnull Workspace workspace,
	                          @Nonnull WorkspaceResource resource,
	                          @Nonnull JvmClassBundle bundle,
	                          @Nullable String packageName) {
		JvmClassBundle bundleCopy = new BasicJvmClassBundle();
		bundle.valuesAsCopy().forEach(cls -> {
			if (packageName == null && cls.getPackageName() == null)
				bundleCopy.put(cls);
			else if (cls.getName().startsWith(packageName + "/"))
				bundleCopy.put(cls);
		});
		WorkspaceResource resourceCopy = new WorkspaceResourceBuilder().withJvmClassBundle(bundleCopy).build();
		Workspace workspaceCopy = new BasicWorkspace(resourceCopy);
		pathExportingManager.export(workspaceCopy, "package", false);
	}
Exports a package, prompting the user to select a location to save the file to.

@param workspace
		Containing workspace.
@param resource
		Containing resource.
@param bundle
		Containing bundle.
@param packageName
		Name of package to export.
recaf-ui/src/main/java/software/coley/recaf/services/navigation/Actions.java