Home
last modified time | relevance | path

Searched refs:CheckedProvider (Results 1 – 10 of 10) sorted by relevance

/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java88 private static final TypeLiteral<CheckedProvider<?>> CHECKED_PROVIDER_TYPE
89 = new TypeLiteral<CheckedProvider<?>>() { };
119 public <P extends CheckedProvider> SecondaryBinder<P, ?>
127 public <P extends CheckedProvider, T> SecondaryBinder<P, T>
135 public <P extends CheckedProvider, T> SecondaryBinder<P, T>
140 public class SecondaryBinder<P extends CheckedProvider, T> {
238 CheckedProvider<T> checkedProvider = new CheckedProviderWithDependencies<T>() { in providing()
265 Key<CheckedProvider<?>> targetKey = Key.get(CHECKED_PROVIDER_TYPE, in providing()
282 return toInternal((Key<? extends CheckedProvider<?>>)targetKey); in to()
285 private ScopedBindingBuilder toInternal(final Key<? extends CheckedProvider<?>> targetKey) { in toInternal()
[all …]
DCheckedProviderMethod.java43 class CheckedProviderMethod<T> implements CheckedProvider<T>, HasDependencies {
51 private final Class<? extends CheckedProvider> checkedProvider;
62 Class<? extends CheckedProvider> checkedProvider, in CheckedProviderMethod()
DCheckedProvider.java37 public interface CheckedProvider<T> { interface
DThrowingProvider.java38 public interface ThrowingProvider<T,E extends Exception> extends CheckedProvider<T> {
DCheckedProviderWithDependencies.java28 interface CheckedProviderWithDependencies<T> extends CheckedProvider<T>, HasDependencies {
DCheckedProvides.java44 Class<? extends CheckedProvider> value(); in value()
DCheckedProvideUtils.java79 Class<? extends CheckedProvider> checkedProvider) { in validateExceptions()
DCheckedProviderMethodsModule.java92 Class<? extends CheckedProvider> throwingProvider = checkedProvides.value(); in createProviderMethod()
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProviderTest.java633 assertTrue(CheckedProvider.class.isAssignableFrom(key.getTypeLiteral().getRawType())); in testDependencies_Cxtor()
648 interface RemoteProviderWithExtraMethod<T> extends CheckedProvider<T> {
652 interface RemoteProvider<T> extends CheckedProvider<T> {
826 interface StringRemoteProvider extends CheckedProvider<String> {
1360 private static interface TooManyTypeParameters<T, P> extends CheckedProvider<T> {
1363 private static interface WrongThrowingProviderType<T> extends CheckedProvider<String> {
1366 private static interface OneNoneGetMethod<T> extends CheckedProvider<T> {
1370 private static interface ManyMethods<T> extends CheckedProvider<T> {
DCheckedProviderMethodsModuleTest.java56 interface RpcProvider<T> extends CheckedProvider<T> {