Comment by ozgurok...@gmail.com:

One would expect that it would be possible to use "Matchers.subclassesOf(Some.class)" in place of "Matchers.any()" in the example code. However it doesn't work. The source looks like "subclassesOf" is designed to work with (string to) type converters and it is not compatible with type listeners.
Here is one implementation to do it: http://pastie.org/1064618


For more information:
http://code.google.com/p/google-guice/wiki/CustomInjections

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to google-guice-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en.

Reply via email to