@Nonnull
	public static GeneratedPhantomWorkspaceResource wrap(@Nonnull Map<String, byte[]> generated) {
		// Wrap into resource
		BasicJvmClassBundle bundle = new BasicJvmClassBundle();
		generated.forEach((name, phantom) -> {
			JvmClassInfo phantomClassInfo = new JvmClassInfoBuilder(phantom).build();
			bundle.initialPut(phantomClassInfo);
		});
		bundle.markInitialState();
		return new GeneratedPhantomWorkspaceResource(new WorkspaceResourceBuilder()
				.withJvmClassBundle(bundle));
	}
@param generated
		Map of generated classes.

@return Wrapping resource.
recaf-core/src/main/java/software/coley/recaf/services/phantom/JPhantomGenerator.java