private void checkScopedSetBindings(Collection<NewDependencyInfo> dependencyInfos,NewScopeCalculator scopeCalculator){
  Set<NewBindingKey> explicitScopedKeys=scopeCalculator.getExplicitScopedKeys();
  for (  NewDependencyInfo info : dependencyInfos) {
    if (info.isSet() && explicitScopedKeys.contains(info.getDependant())) {
      allRecoverableErrors.add(String.format("Set binding should not be scoped. Binding: %s",info));
    }
  }
}

private void checkScopedSetBindings ( Collection < NewDependencyInfo > dependencyInfos , NewScopeCalculator scopeCalculator ) { Set < NewBindingKey > explicitScopedKeys = scopeCalculator . getExplicitScopedKeys ( ) ; for ( NewDependencyInfo info : dependencyInfos ) { if ( info . isSet ( ) && explicitScopedKeys . contains ( info . getDependant ( ) ) ) { allRecoverableErrors . add ( String . format ( "Set binding should not be scoped. Binding: %s" , info ) ) ; } } }
scoped set bindings are dangerous .
