Home
last modified time | relevance | path

Searched refs:optionalProviderKey (Results 1 – 2 of 2) sorted by relevance

/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DOptionalBinder.java300 private final Key<Optional<Provider<T>>> optionalProviderKey; field in OptionalBinder.RealOptionalBinder
327 this.optionalProviderKey = typeKey.ofType(optionalOfProvider(literal)); in RealOptionalBinder()
328 this.optionalProviderT = binder.getProvider(optionalProviderKey); in RealOptionalBinder()
380 binder.bind(optionalProviderKey).toProvider(new RealOptionalProviderProvider()); in configure()
385 Key massagedOptionalProviderKey = (Key) optionalProviderKey; in configure()
639 || elementKey.equals(optionalProviderKey) in containsElement()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java728 Key<Optional<Provider<T>>> optionalProviderKey = in optionalInjectorTest() local
778 } else if (b.getKey().equals(optionalProviderKey)) { in optionalInjectorTest()
864 Key<Optional<Provider<T>>> optionalProviderKey = in optionalModuleTest() local
926 } else if (key != null && key.equals(optionalProviderKey)) { in optionalModuleTest()