private Library getLibrary(Namespace p) {
		if (p instanceof Library lib) {
			return lib;
		}
		Namespace parent = p.getParentNamespace();
		return parent == null ? null : getLibrary(parent);
	}
@param result
@param language
@param overwrite
Ghidra/Features/Sarif/src/main/java/sarif/managers/MarkupSarifMgr.java