class ClickListenerRegistry implements Function<String, BiConsumer<MenuItemClick, Map<String, Object>>>,
        ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> {

    @Override
    public void merge(ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> registry) {
        ListenerRegistry<String, BiConsumer<MenuItemClick, Map<String, Object>>> copy = ListenerRegistries.copyOf(registry, ClickListenerRegistry::new);
        registryMap.putAll(copy.getRegisteredListeners());
        reInitMap();
    }

    public  ClickListenerRegistry(Map<String, RegisteredListener<String, BiConsumer<MenuItemClick, Map<String, Object>>>> registryMap);
    public  ClickListenerRegistry();

}