Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
guice
/
refs/heads/int/p/fp2
/
extensions
/
throwingproviders
/
test
/
com
/
google
/
inject
/
throwingproviders
fb04cae
Add ability to not scope exception to RemoteProviderBinder
by cnester
· 9 years ago
f9a3d2d
Skip synthetic/bridge methods when validating CheckedProvider interfaces, otherwise java8 breaks validation by adding a synthetic bridge default method.
by Sam Berlin
· 10 years ago
8b7aaec
Update ThrowingProviderBinder to have a better exception in case of ProvisionExceptions from more than one dependency.
by Sam Berlin
· 12 years ago
e6abeff
Change the new ThrowingProviderBinder.providing to look for @ThrowingInject instead of @Inject.
by Sam Berlin
· 12 years ago
8557c77
Add a new method to ThrowingProviderBinder: providing(Class) or providing(TypeLiteral).
by Sam Berlin
· 12 years ago
b7a02b0
by sberlin
· 13 years ago
d9c913a
switch Guice from manually repackaging Guava to depending on Guava. it's still jarjar'd right now, which is causing a ~400k increase in guice-snapshot.jar. next step is to switch to ProGuard to remove the unnecessary code and cut it back down (even further?!). this will let people build from Guice source and depend directly on Guava code without having to worry about hiding internal/util.
by sberlin
· 13 years ago
4d93ce6
fix license.
by sberlin@gmail.com
· 14 years ago
ba8a4cd
add more tests for @CheckedProvides methods, fix bug exposed with @Exposed methods, cleanup class names & javadoc.
by sberlin@gmail.com
· 14 years ago
488284d
deprecated ThrowingProvider in favor of CheckedProvider, which lets you specify more than one exception type. remove tentative @ThrowingProvides in favor of @CheckedProvides. add tests.
by sberlin
· 14 years ago
dfee9fd
issue 531 -- don't let c.g.i.internal.util reference outside its package.
by sberlin
· 14 years ago
ee446ca
update ThrowingProvider to support an @ThrowingProvides annotation, much like @Provides. update the internals of the class to give more explicit error messaging & use bind.addError instead of throwing exceptions. added lots & lots of tests.
by sberlin
· 14 years ago
5ac45a8
update ThrowingProviders to implement HasDependencies and use getProvider instead of injecting the Injector.
by sberlin
· 14 years ago
a6e0e78
Moving error sources so they're now reported in the same place for configuration errors and runtime errors. This means that instead of seeing this:
by limpbizkit
· 16 years ago
49f67c0
Fixing owner types so they're no longer missing in ThrowingProviderBinder. Also adding the necessary precondition checks so that we always include 'em when necessary.
by limpbizkit
· 16 years ago
eab7647
A bunch of polish fixes for 2.0:
by limpbizkit
· 16 years ago
e451ef7
Adding AssistedInject and ThrowingProviders as Guice extensions.
by limpbizkit
· 16 years ago