Home
last modified time | relevance | path

Searched refs:stringProvider (Results 1 – 8 of 8) sorted by relevance

/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/nullables/
DNullFoo.java23 final Provider<String> stringProvider; field in NullFoo
29 Provider<String> stringProvider, in NullFoo() argument
33 this.stringProvider = stringProvider; in NullFoo()
43 Provider<String> stringProvider, in inject() argument
47 this.methodInjectedStringProvider = stringProvider; in inject()
DNullComponentWithDependency.java25 Provider<String> stringProvider(); in stringProvider() method
DNullComponent.java26 Provider<String> stringProvider(); in stringProvider() method
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/nullables/
DNullabilityTest.java45 validate(true, nullFoo.string, nullFoo.stringProvider, nullFoo.numberProvider); in testNullability_provides()
54 @Override public Provider<String> stringProvider() { in testNullability_components()
84 validate(false, component.string(), component.stringProvider(), component.numberProvider()); in testNullability_components()
97 Provider<String> stringProvider, in validate() argument
108 assertThat(stringProvider.get()).isNull(); in validate()
/external/guice/core/test/com/google/inject/spi/
DModuleRewriterTest.java88 final Provider<String> stringProvider = getProvider(String.class); in testGetProviderAvailableAtInjectMembersTime()
98 value = stringProvider.get(); in testGetProviderAvailableAtInjectMembersTime()
DSpiBindingsTest.java104 final Provider<String> stringProvider = new StringProvider(); in testToProviderBinding() local
110 bind(String.class).toProvider(stringProvider); in testToProviderBinding()
123 assertSame(stringProvider, binding.getUserSuppliedProvider()); in testToProviderBinding()
/external/guice/core/test/com/google/inject/
DKeyTest.java312 final AtomicReference<Provider<List<String>>> stringProvider = in testAnonymousClassesDontHoldRefs() local
329 stringProvider.set(getProvider(new Key<List<String>>() {})); in testAnonymousClassesDontHoldRefs()
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProvider2Test.java632 Car createCar(Provider<Color> colorProvider, Provider<String> stringProvider); in createCar() argument
691 javax.inject.Provider<Color> colorProvider, javax.inject.Provider<String> stringProvider); in createCar() argument