private String getClassName(Path p) {
			String fileName = p.getFileName().toString();
			// if f is the class file of an inner class, use the class name
			int money = fileName.indexOf('$');
			if (money >= 0) {
				return fileName.substring(0, money);
			}
			return fileName.substring(0, fileName.length() - 6); // drop ".class"
		}
Map classes in {@code directory} with {@link ClassMapper}.
 
@param directory the directory
@throws IOException if there's a problem listing files
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/GhidraSourceBundle.java