public ServiceBuilder<T> addDependencies(final Iterable<ServiceName> newDependencies) {
return addDependencies(DependencyType.REQUIRED, newDependencies);
}
ServiceBuilder<T> addDependenciesNoCheck(final Iterable<ServiceName> newDependencies) {
return addDependenciesNoCheck(newDependencies, DependencyType.REQUIRED);
<BUG>}
@Override
@Deprecated
public ServiceBuilder<T> addOptionalDependencies(final Iterable<ServiceName> newDependencies) {
return addDependencies(DependencyType.OPTIONAL, newDependencies);</BUG>
}

public ServiceBuilder<T> addDependencies(final Iterable<ServiceName> newDependencies) {
return addDependencies(DependencyType.REQUIRED, newDependencies);
}
ServiceBuilder<T> addDependenciesNoCheck(final Iterable<ServiceName> newDependencies) {
return addDependenciesNoCheck(newDependencies, DependencyType.REQUIRED);
}
