core/src/com/google/inject/internal/InjectorImpl.java
SingleParameterInjector<?>[] getParametersInjectors(List<Dependency<?>> parameters, Errors errors)
      throws ErrorsException {
    if (parameters.isEmpty()) {
      return null;
    }

    int numErrorsBefore = errors.size();
    SingleParameterInjector<?>[] result = new SingleParameterInjector<?>[parameters.size()];
    int i = 0;
    for (Dependency<?> parameter : parameters) {
      try {
        result[i++] = createParameterInjector(parameter, errors.withSource(parameter));
      } catch (ErrorsException rethrownBelow) {
        // rethrown below
      }
    }

    errors.throwIfNewErrors(numErrorsBefore);
    return result;
  }
SingleParameterInjector<?>[] getParametersInjectors(List<Dependency<?>> parameters, Errors errors)
      throws ErrorsException {
    if (parameters.isEmpty()) {
      return null;
    }

    int numErrorsBefore = errors.size();
    SingleParameterInjector<?>[] result = new SingleParameterInjector<?>[parameters.size()];
    int i = 0;
    for (Dependency<?> parameter : parameters) {
      try {
        result[i++] = createParameterInjector(parameter, errors.withSource(parameter));
      } catch (ErrorsException rethrownBelow) {
        // rethrown below
      }
    }

    errors.throwIfNewErrors(numErrorsBefore);
    return result;
  }
SingleParameterInjector < ? > [ ] getParametersInjectors ( List < Dependency < ? > > parameters , Errors errors ) throws ErrorsException { if ( parameters . isEmpty ( ) ) { return null ; } int numErrorsBefore = errors . size ( ) ; SingleParameterInjector < ? > [ ] result = new SingleParameterInjector < ? > [ parameters . size ( ) ] ; int i = 0 ; for ( Dependency < ? > parameter : parameters ) { try { result [ i ++ ] = createParameterInjector ( parameter , errors . withSource ( parameter ) ) ; } catch ( ErrorsException rethrownBelow ) { // rethrown below } } errors . throwIfNewErrors ( numErrorsBefore ) ; return result ; }
Returns parameter injectors, or {@code null} if there are no parameters.
Returns parameter injectors or {