@Nonnull
	public EventHandler<? super MouseEvent> contextMenuHandlerOf(@Nonnull Cell<?> cell, @Nonnull PathNode<?> item, @Nonnull ContextSource source) {
		return e -> {
			if (e.getButton() == MouseButton.SECONDARY) {
				// Lazily populate context menus when secondary click is prompted.
				if (cell.getContextMenu() == null)
					cell.setContextMenu(contextMenuOf(source, item));
			}
		};
	}
@param cell
		Cell to apply created context menus to.
@param item
		Content within the cell.
@param source
		Origin source of the cell, for context menu specialization.

@return An event handler for {@link Node#setOnMouseClicked(EventHandler)} that handles creating context menus.
recaf-ui/src/main/java/software/coley/recaf/services/cell/CellConfigurationService.java