public ServiceGraphModule addDependency ( Key < ? > key , Key < ? > keyDependency ) { addedDependencies . computeIfAbsent ( key , key1 -> new HashSet <> ( ) ) . add ( keyDependency ) ; return this ; }
Adds the dependency for key