I'd like to know how to represent a generic version of the following
binding that won't fail with xxx cannot be used as a key it is not fully
specified
install(new FactoryModuleBuilder().
implement(new TypeLiteral<SomeClass<T,?>>(){},
new TypeLiteral<SomeOtherClass<T, U>>(){}).
build(new TypeLiteral<SomeFactory<T>>(){}));
It seems that the implement method isn't available with a parameterized
type parameter.
Thanks,
Jeff
--
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-guice/-/N_gg9mzmOTgJ.
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.