Made type resolution way fast. We no longer build any collections -- instead we just do everything on demand. A very naive benchmark showed this to be much faster (50s vs 3s).

Also merged TypeResolver with TypeLiteral. This exposes a bunch of new APIs for types - such as getting the generic parameter types of a method. I'm not convinced that we should be exposing all of this, but it's nice for extensions. For example, @Provides methods need type resolution.

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