ProviderMethods now works with generic types. It won't work perfectly due to erasure (the provider objects can't have unresolved type parameters) but it should make most generic stuff work as expected.

A future, more interesting change is to make it so we support generic injection points. So we can say  "@Inject List<T> elements" safely.

git-svn-id: https://google-guice.googlecode.com/svn/trunk@587 d779f126-a31b-0410-b53b-1d3aecad763e
2 files changed