@Nonnull
	@Override
	public WorkspaceResource importResource(@Nonnull URL url) throws IOException {
		// Extract name from URL
		String path;
		if (url.getProtocol().equals("file")) {
			path = url.getFile();
			if (path.isEmpty())
				path = url.toString();
			if (path.charAt(0) == '/')
				path = path.substring(1);
		} else {
			path = url.toString();
		}

		// Load content, parse into resource.
		byte[] bytes = IOUtil.toByteArray(url.openStream());
		ByteSource byteSource = ByteSources.wrap(bytes);
		return handleSingle(new WorkspaceFileResourceBuilder(), path, byteSource);
	}
Should <i>ONLY</i> be called if there is an existing duplicate/conflict in the given JVM class bundle.

@param existingClass
		Prior class entry in the class bundle.
@param currentClass
		New entry to de-duplicate.
@param classes
		Target class bundle.
@param files
		Target file bundle for fallback item placement.
recaf-core/src/main/java/software/coley/recaf/services/workspace/io/BasicResourceImporter.java