Searched refs:ThrowingProviderBinder (Results 1 – 6 of 6) sorted by relevance
46 import com.google.inject.throwingproviders.ThrowingProviderBinder.Result;103 ThrowingProviderBinder.create(binder()) in setUp()108 ThrowingProviderBinder.create(binder()) in setUp()122 install(ThrowingProviderBinder.forModule(this)); in setUp()147 ThrowingProviderBinder.create(binder()) in setUp()152 ThrowingProviderBinder.create(binder()) in setUp()308 ThrowingProviderBinder.create(binder()) in testAnnotations_Bind()313 ThrowingProviderBinder.create(binder()) in testAnnotations_Bind()329 install(ThrowingProviderBinder.forModule(this)); in testAnnotations_Provides()365 ThrowingProviderBinder.create(binder()) in testAnnotations_Cxtor()[all …]
72 ThrowingProviderBinder.create(binder())77 ThrowingProviderBinder.create(binder())90 install(ThrowingProviderBinder.forModule(this));229 ThrowingProviderBinder.create(binder()) in testAnnotations_Bind()234 ThrowingProviderBinder.create(binder()) in testAnnotations_Bind()250 install(ThrowingProviderBinder.forModule(this)); in testAnnotations_Provides()317 ThrowingProviderBinder.create(binder()) in testThrowingProviderSubclassing()334 ThrowingProviderBinder.create(binder()) in testBindingToNonInterfaceType_Bind()353 install(ThrowingProviderBinder.forModule(this)); in testBindingToNonInterfaceType_Provides()377 ThrowingProviderBinder.create(binder()) in testBindingToSubSubInterface_Bind()[all …]
68 install(ThrowingProviderBinder.forModule(this)); in configure()113 install(ThrowingProviderBinder.forModule(this)); in configure()
87 public class ThrowingProviderBinder { class97 private ThrowingProviderBinder(Binder binder) { in ThrowingProviderBinder() method in ThrowingProviderBinder101 public static ThrowingProviderBinder create(Binder binder) { in create()102 return new ThrowingProviderBinder( in create()104 ThrowingProviderBinder.class, ThrowingProviderBinder.SecondaryBinder.class)); in create()
30 import com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder;82 ThrowingProviderBinder.create(binder).bind(checkedProvider, key.getTypeLiteral()); in configure()
20 import com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder;