private void writeInitializers(
      GinjectorBindings bindings,
      StringBuilder initializeEagerSingletonsBody, StringBuilder initializeStaticInjectionsBody,
      SourceWriteUtil sourceWriteUtil, SourceWriter writer) {

    if (bindings.hasEagerSingletonBindingInSubtree()) {
      sourceWriteUtil.writeMethod(writer,
          "public void initializeEagerSingletons()", initializeEagerSingletonsBody.toString());
    }

    if (bindings.hasStaticInjectionRequestInSubtree()) {
      sourceWriteUtil.writeMethod(writer,
          "public void initializeStaticInjections()", initializeStaticInjectionsBody.toString());
    }
  }
private void writeInitializers ( GinjectorBindings bindings , StringBuilder initializeEagerSingletonsBody , StringBuilder initializeStaticInjectionsBody , SourceWriteUtil sourceWriteUtil , SourceWriter writer ) { if ( bindings . hasEagerSingletonBindingInSubtree ( ) ) { sourceWriteUtil . writeMethod ( writer , "public void initializeEagerSingletons()" , initializeEagerSingletonsBody . toString ( ) ) ; } if ( bindings . hasStaticInjectionRequestInSubtree ( ) ) { sourceWriteUtil . writeMethod ( writer , "public void initializeStaticInjections()" , initializeStaticInjectionsBody . toString ( ) ) ; } }
<http://code.google.com/p/google-gin/issues/detail?id=156>.