Status: New
Owner: ----
New issue 368 by [email protected]: AssistedInject and MapBinder api
conveniance in method parameters
http://code.google.com/p/google-guice/issues/detail?id=368
I find it a bit unfriendly that FactoryProvider.newFactory(A,B) only takes
A=B parameters. I.e. either
FactoryProvider.newFactory(TypeLiteral,TypeLiteral); or
FactoryProvider.newFactory(Class,Class);
but not mixed. It happens that one of this classes is simple and the other
is not. I think it is convenient to have the ability to have also
FactoryProvider.newFactory(Class,TypeLiteral);
FactoryProvider.newFactory(TypeLiteral,Class);
methods. Why bother with TypeLiteral if not needed?
Same goes for MapBinder.
Patch is attached.
Attachments:
conveniance_api.patch 2.4 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice-dev" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---