public Dependencies union(Dependencies dependencies) {
        return new Dependencies(
                union(provides, dependencies.provides),
                union(before, dependencies.before),
                union(after, dependencies.after));
    }
Create from collections of strings, typically from config.
container-core/src/main/java/com/yahoo/component/chain/dependencies/Dependencies.java