private void writeErrorUnresolved(PrintWriter writer, Summary summary,
			List<BundleRequirement> requirements) {

		writer.printf("%d import requirement%s remain%s unresolved:\n", requirements.size(),
			requirements.size() > 1 ? "s" : "", requirements.size() > 1 ? "" : "s");
		for (BundleRequirement requirement : requirements) {
			List<ResourceFile> requiringFiles =
				requirementToSourceFileMap.get(requirement.toString());
			if (requiringFiles != null && requiringFiles.size() > 0) {
				writer.printf("  %s, from %s\n", requirement.toString(),
					requiringFiles.stream()
							.map(generic.util.Path::toPathString)
							.collect(Collectors.joining(",")));

				for (ResourceFile sourceFile : requiringFiles) {
					buildError(sourceFile,
						generic.util.Path.toPathString(sourceFile) + " : failed import " +
							OSGiUtils.extractPackageNamesFromFailedResolution(
								requirement.toString()));
				}
			}
			else {
				writer.printf("  %s\n", requirement.toString());
			}
		}

		String singularity = requirements.size() > 1 ? "s" : "";
		String missing = requirements.stream()
				.flatMap(
					r -> OSGiUtils.extractPackageNamesFromFailedResolution(r.toString()).stream())
				.distinct()
				.collect(Collectors.joining(","));
		summary.printf("%d missing package import%s:%s", requirements.size(), singularity, missing);
	}
visit discrepancies between java source and corresponding class files.

<pre>
walk resources to find:
 - source files that are newer than their corresponding binary
		reports (source file, list of corresponding binaries)
	- source files with no corresponding binary
		reports (source file, empty list)
 - binary files with no corresponding source
 	reports (null, list of binary files)
 
  for a source file source_root/com/blah/Blah.java
  
  all of the following binaries would correspond:
  	binary_root/com/blah/Blah.class
  	binary_root/com/blah/Blah$Inner.class
  	binary_root/com/blah/Blah$12.class
  	binary_root/com/blah/Blah$12.class
  	binary_root/com/blah/Blah$Inner$Innerer.class
  	...
</pre>
@param discrepancy the discrepancy callback
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/GhidraSourceBundle.java