public void add(GhidraBundle bundle) {
		writeLock.lock();
		try {
			bundlesByFile.put(bundle.getFile(), bundle);
			bundlesByLocation.put(bundle.getLocationIdentifier(), bundle);
		}
		finally {
			writeLock.unlock();
		}
	}
Maps associations between a bundle, its file, and its bundle location.

@param bundle a GhidraBundle object
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleMap.java