@Nonnull
	private static <T extends ContextMenuAdapter> ContextMenuProvider adapt(@Nonnull ContextMenuProvider provider,
																			@Nonnull Collection<T> adapters,
																			@Nonnull BiConsumer<T, ContextMenu> adapterConsumer) {
		for (T adapter : adapters) {
			ContextMenuProvider currentProvider = provider;
			provider = () -> {
				ContextMenu menu = currentProvider.makeMenu();
				if (menu != null)
					adapterConsumer.accept(adapter, menu);
				return menu;
			};
		}
		return provider;
	}
@return Default menu provider for assembler data.
recaf-ui/src/main/java/software/coley/recaf/services/cell/context/ContextMenuProviderService.java