Uses of Interface
com.google.inject.throwingproviders.CheckedProvider
-
Packages that use CheckedProvider Package Description com.google.inject.testing.throwingproviders com.google.inject.throwingproviders Extension for injecting objects that may throw at provision time; this extension requiresguice-throwingproviders.jar
. -
-
Uses of CheckedProvider in com.google.inject.testing.throwingproviders
Classes in com.google.inject.testing.throwingproviders with type parameters of type CheckedProvider Modifier and Type Class Description class
CheckedProviderSubject<T,P extends CheckedProvider<T>>
TruthSubject
for use withCheckedProvider
classes.Methods in com.google.inject.testing.throwingproviders with type parameters of type CheckedProvider Modifier and Type Method Description static <T,P extends CheckedProvider<T>>
CheckedProviderSubject<T,P>CheckedProviderSubject. assertThat(P provider)
static <T,P extends CheckedProvider<T>>
com.google.common.truth.Subject.Factory<CheckedProviderSubject<T,P>,P>CheckedProviderSubject. checkedProviders()
-
Uses of CheckedProvider in com.google.inject.throwingproviders
Classes in com.google.inject.throwingproviders with type parameters of type CheckedProvider Modifier and Type Class Description class
ThrowingProviderBinder.SecondaryBinder<P extends CheckedProvider,T>
Subinterfaces of CheckedProvider in com.google.inject.throwingproviders Modifier and Type Interface Description interface
ThrowingProvider<T,E extends Exception>
Deprecated.useCheckedProvider
instead.Methods in com.google.inject.throwingproviders with type parameters of type CheckedProvider Modifier and Type Method Description <P extends CheckedProvider,T>
ThrowingProviderBinder.SecondaryBinder<P,T>ThrowingProviderBinder. bind(Class<P> interfaceType, TypeLiteral<T> typeLiteral)
<P extends CheckedProvider,T>
ThrowingProviderBinder.SecondaryBinder<P,T>ThrowingProviderBinder. bind(Class<P> interfaceType, Class<T> clazz)
<P extends CheckedProvider>
ThrowingProviderBinder.SecondaryBinder<P,?>ThrowingProviderBinder. bind(Class<P> interfaceType, Type clazz)
Deprecated.static <T,P extends CheckedProvider<? super T>>
PCheckedProviders. of(TypeLiteral<P> providerType, T instance)
Returns aCheckedProvider
which always providesinstance
.static <T,P extends CheckedProvider<? super T>>
PCheckedProviders. of(Class<P> providerType, T instance)
Returns aCheckedProvider
which always providesinstance
.static <T,P extends CheckedProvider<? super T>>
PCheckedProviders. throwing(TypeLiteral<P> providerType, Class<? extends Throwable> throwable)
Returns aCheckedProvider
which always throws exceptions.static <T,P extends CheckedProvider<? super T>>
PCheckedProviders. throwing(Class<P> providerType, Class<? extends Throwable> throwable)
Returns aCheckedProvider
which always throws exceptions.Methods in com.google.inject.throwingproviders that return types with arguments of type CheckedProvider Modifier and Type Method Description Class<? extends CheckedProvider>
value()
The interface that provides this value, a subinterface ofCheckedProvider
.
-