core/src/com/google/inject/internal/Initializer.java
void injectAll(final Errors errors) {
    Preconditions.checkState(validationStarted, "Validation should be done before injection");
    for (InjectableReference<?> reference : pendingInjections) {
      try {
        reference.get();
      } catch (InternalProvisionException ipe) {
        errors.merge(ipe);
      }
    }
    pendingInjections.clear();
  }
void injectAll(final Errors errors) {
    Preconditions.checkState(validationStarted, "Validation should be done before injection");
    for (InjectableReference<?> reference : pendingInjections) {
      try {
        reference.get();
      } catch (InternalProvisionException ipe) {
        errors.merge(ipe);
      }
    }
    pendingInjections.clear();
  }
void injectAll ( final Errors errors ) { Preconditions . checkState ( validationStarted , "Validation should be done before injection" ) ; for ( InjectableReference < ? > reference : pendingInjections ) { try { reference . get ( ) ; } catch ( InternalProvisionException ipe ) { errors . merge ( ipe ) ; } } pendingInjections . clear ( ) ; }
Performs creation-time injections on all objects that require it. Whenever fulfilling an
injection depends on another object that requires injection, we inject it first. If the two
instances are codependent (directly or transitively), ordering of injection is arbitrary.
Performs creation - time injections on all objects that require it . Whenever fulfilling an injection depends on another object that requires injection we inject it first . If the two instances are codependent ( directly or transitively ) ordering of injection is arbitrary .