--
You received this message because you are subscribed to the Google Groups "google-guice" group.
To post to this group, send email to google...@googlegroups.com.
To unsubscribe from this group, send email to google-guice...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
Sam
UniqueAnnotations is package-private to Guice, so you'll have to
recreate it (or you can use a named binding keyed off the enum).
This is a pretty solid use-case, though, and FactoryModuleBuilder
could easily have a getProvider method in it to make this easier.
(FYI, code samples written on my phone while on an Amtrak train whose
engine broke, so we're literally "rolling" from stop to stop. So it
won't compile, but it's unnecessarily detailed for phone code.)
Sam