fmgasparino / google-gin

Automatically exported from code.google.com/p/google-gin
Apache License 2.0
0 stars 0 forks source link

Add a protected method to AbstractGinModule to expose the GinBinder (like Guice AbstractModule.binder()) #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This will enable method reuse within and across GIN modules.

class MyModule extends AbstractGinModule {
  void configure() {
    SomeModuleHelper.bindMyCommonBindings(binder(), parameters);
  }
}

Original issue reported on code.google.com by d...@google.com on 7 Dec 2009 at 9:29

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, meant to mention that a patch is included.

Original comment by d...@google.com on 7 Dec 2009 at 9:29

GoogleCodeExporter commented 9 years ago
Can you please follow the directions here (as a Googler you don't need the CLA):
http://code.google.com/p/google-gin/wiki/ContributingToGin

Once the codereview is through, I'll submit it. I think this change is small 
enough
to go in before the release. Thanks for contributing!

Original comment by aragos on 8 Dec 2009 at 8:25

GoogleCodeExporter commented 9 years ago
OK, you have to help me out. Not used to this process. What do I put in the 
Base field 
of the upload form?

Original comment by d...@google.com on 8 Dec 2009 at 8:57

GoogleCodeExporter commented 9 years ago

Original comment by aragos on 13 Dec 2009 at 3:58