@Override
    public <DOC extends DocumentProperty & HasMainInterface>
    void installContextMenu(Class<? extends DOC> nodeType,
                            ContextMenuBuilder<DOC> menuBuilder) {

        contextMenuBuilders.computeIfAbsent(nodeType,
            k -> new CopyOnWriteArrayList<>()
        ).add(menuBuilder);
    }
This class is intended to be dependency injected. This constructor should
therefore not be invoked directly.
tool-parent/tool-actions/src/main/java/com/speedment/tool/actions/internal/ProjectTreeComponentImpl.java