Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
guice
/
5ae41eb77073b47e75c2dcf3766137f2352fbaf9
/
src
/
com
/
google
/
inject
/
TypeLiteral.java
5ae41eb
Post release refactor. I moved almost everything that was package-private in com.google.inject to the internal package. The motivation is to simplify things - the previous setup was extremely awkward because c.g.i could call into internal, but not the reverse. Similarly for the SPI package.
by limpbizkit
· 15 years ago
a2b241d
additional doc for TypeLiteral, helping to make it easier to find wildcard types.
by limpbizkit
· 15 years ago
53664a7
Regrettably replacing jarjar'd Google Collections with minimal copies of the parts that we use.
by limpbizkit
· 15 years ago
b92a84e
Removed old API diffs.
by limpbizkit
· 16 years ago
0de5e3e
Changed ProxyFactory so that AOP generated proxy classes can be shared between injectors. We leverage cglib's cache, which required us to defer setting the callbacks until the instance is about to be created. It also requires us to support equals() and hashCode() for all objects used to configure the Enhancer.
by limpbizkit
· 16 years ago
4272aef
Key.get() now explodes when you give it a type parameter like 'T'. Guice has never supported this, but now we fail earlier.
by limpbizkit
· 16 years ago
c489adf
A whole bunch of @since tags, and a JDiff report of everything that's changed since Guice 1.
by limpbizkit
· 16 years ago
8d13d41
Wildcards now supported in TypeLiteral type resolution
by limpbizkit
· 16 years ago
4f5d1f7
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).
by limpbizkit
· 16 years ago
8c4c71c
Fixing a serialization problem as reported by Ben Yu: TypeLiteral is serializable, which causes warnings in anonymous inner type literals.
by limpbizkit
· 16 years ago
3beaaaf
Making Types public for issue 123.
by limpbizkit
· 16 years ago
1601ae5
Adopt latest google collections snapshot (partially); some style cleanup
by kevinb9n
· 16 years ago
f530b25
Creating a canonical form for Keys with arrays in them.
by limpbizkit
· 16 years ago
eab7647
A bunch of polish fixes for 2.0:
by limpbizkit
· 16 years ago
e4647a6
Serialization fixup round one. I still have lots of work before everything serializes properly...
by limpbizkit
· 16 years ago
552472f
Added Binding.getProviderBinding()
by crazyboblee
· 17 years ago
cad2c2b
very minor javadoc tweeks
by kevinb9n
· 17 years ago
2394ca6
Issue 93: run an optimize-imports over all the source.
by kevinb9n
· 17 years ago
63e9a82
Simplified source directory structure. Forget Maven.
by crazyboblee
· 17 years ago
[Renamed from src/main/java/com/google/inject/TypeLiteral.java]
3be9b71
Moved sources into 'java' directories to make Maven happy.
by crazyboblee
· 17 years ago
[Renamed from src/main/com/google/inject/TypeLiteral.java]
97223d4
Moved src directories to be more maven friendly.
by crazyboblee
· 17 years ago
[Renamed from src/com/google/inject/TypeLiteral.java]
be2a67f
Added Binder.getStage(). Added Matchers.annotatedWith(Annotation). Added support for generic arrays to TypeLiteral.
by crazyboblee
· 17 years ago
1b54d6a
Made TypeLiteral equals() and hashCode() much more robust.
by crazyboblee
· 17 years ago
a99dca7
Silly code-style fixes
by kevinb9n
· 17 years ago
62fcdde
Finished interception framework. Added Container.findBindingsByType().
by crazyboblee
· 17 years ago
e3adfd6
Introduced ToStringBuilder. Pulled up ConstructorInjector. Introduced ConstructionProxy.
by crazyboblee
· 17 years ago
0baa9fc
Updated Javadocs. Renamed TypeToken to TypeLiteral. Hid ConfigurationException from the public API.
by crazyboblee
· 17 years ago
[Renamed (74%) from src/com/google/inject/TypeToken.java]
235d068
Further improved the up front error reporting. Hid ErrorMessage and source() logic from the public API for the time being. Removed javadocs.
by crazyboblee
· 17 years ago
63b592b
Redesigned scopes to enable custom implementations. Renamed DependencyException to ConfigurationException. Cleaned up Container's interface. It now returns a Factory instead of a direct instance so clients don't have to keep passing in the paramters resulting in a map lookup. Added support for injecting Factory<T> where T is any bound type.
by crazyboblee
· 18 years ago
b944668
Refactoring binding API. Adding support for generic types.
by crazyboblee
· 18 years ago
41bc852
Added TypeToken. Refactored Key to use it. Goodbye, raw types!
by crazyboblee
· 18 years ago