I've just committed c7ae433fc9d5 [1] which adds a BoundFieldModule class. This module along with the accompanying Bind annotation enables you to automatically bind an object's field's value to that field's type. This enables you to avoid having to create test-specific modules which do nothing but bind the fields that are already present in your tests!
Head over to the wiki article on bound fields [2] for more information. There's also a lot of information about what BoundFieldModule can do in it's Javadocs, which should get pushed with the release of Guice 4.0, but until then can be read from the source itself. Feel free to send questions, feedback, love letters, suggestions and bugs to me. :) Enjoy, Russ Harmon [1]: https://code.google.com/p/google-guice/source/detail?r=c7ae433fc9d5bb20115d693743fd2535fd707c4f [2]: https://code.google.com/p/google-guice/wiki/BoundFields -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/d/optout.
