michaelwiles / google-gin

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

Allow constants in Ginjector #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Although we support Guice constant bindings (i.e. bindConstant()) in
general, Gin currently does not allow the definition of constant-returning
methods in a Ginjector, for example:

interface MyGinjector extends Ginjector { 
  @Named("foo") int getFoo();
}

This is not terribly important but should probably be enabled eventually.

Original issue reported on code.google.com by aragos on 29 Dec 2008 at 6:46

GoogleCodeExporter commented 9 years ago
Submitted patch for review: http://codereview.appspot.com/12653

Original comment by aragos on 29 Jan 2009 at 8:02

GoogleCodeExporter commented 9 years ago
Fixed in r85.

Original comment by aragos on 4 Feb 2009 at 9:22