Home
last modified time | relevance | path

Searched refs:providerInstance (Results 1 – 6 of 6) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DProviderInstanceBindingImpl.java37 final javax.inject.Provider<? extends T> providerInstance; field in ProviderInstanceBindingImpl
42 javax.inject.Provider<? extends T> providerInstance, in ProviderInstanceBindingImpl() argument
45 this.providerInstance = providerInstance; in ProviderInstanceBindingImpl()
50 Set<InjectionPoint> injectionPoints, javax.inject.Provider<? extends T> providerInstance) { in ProviderInstanceBindingImpl() argument
53 this.providerInstance = providerInstance; in ProviderInstanceBindingImpl()
58 if(providerInstance instanceof ProviderWithExtensionVisitor) { in acceptTargetVisitor()
59 return ((ProviderWithExtensionVisitor<? extends T>) providerInstance) in acceptTargetVisitor()
67 return Providers.guicify(providerInstance); in getProviderInstance()
71 return providerInstance; in getUserSuppliedProvider()
79 return providerInstance instanceof HasDependencies in getDependencies()
[all …]
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DOptionalBinderTest.java23 import static com.google.inject.multibindings.SpiUtils.providerInstance;
205 providerInstance("foo")); in testUsesUserBoundValue()
719 SpiUtils.<String>providerInstance(null), in testLinkedToNullProvidersMakeAbsentValuesAndPresentProviders_default()
765 SpiUtils.<String>providerInstance(null), in testLinkedToNullProvidersMakeAbsentValuesAndPresentProviders_actual()
811 SpiUtils.<String>providerInstance(null), in testLinkedToNullActualDoesntFallbackToDefault()
983 providerInstance("A"), in testModuleOverrideRepeatedInstalls_toProviderInstance()
984 providerInstance("B"), in testModuleOverrideRepeatedInstalls_toProviderInstance()
DMapBinderTest.java25 import static com.google.inject.multibindings.SpiUtils.providerInstance;
384 providerInstance("num", 1)); in testMapBinderMapIsLazy()
DSpiUtils.java1002 static <K, V> MapResult providerInstance(K k, V v) { in providerInstance() method in SpiUtils
1064 static <T> BindResult<T> providerInstance(T t) { in providerInstance() method in SpiUtils
DMultibinderTest.java25 import static com.google.inject.multibindings.SpiUtils.providerInstance;
329 providerInstance(1)); in testMultibinderSetIsLazy()
/external/testng/lib-supplied/
Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ ...