private boolean addToAvailable(GhidraBundle bundle) {
			try {
				capabilityMap.put(bundle, bundle.getAllCapabilities());
				availableBundles.add(bundle);
				return true;
			}
			catch (GhidraBundleException ex) {
				fireBundleException(ex);
				return false;
			}
		}
Utility class to build a dependency graph from bundles where capabilities map to 
requirements.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/osgi/BundleHost.java