You can disable _all_ implicit bindings with
Binder#requireExplicitBindings().

If you want granularity (I don't understand why would you want to do
that in the first place) your best bet is a custom TypeListener
(TypeListener#addError).

Cheers
Alen

On Oct 8, 2:55 am, Thomas Johnson <[email protected]> wrote:
> Is there a way to prevent Guice from doing an implicit binding of a
> class that has a zero-arg constructor?

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

Reply via email to