Home
last modified time | relevance | path

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

/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DOptionalBinder.java242 static <T> TypeLiteral<Optional<Provider<T>>> optionalOfProvider(TypeLiteral<T> type) { in optionalOfProvider() method in OptionalBinder
327 this.optionalProviderKey = typeKey.ofType(optionalOfProvider(literal)); in RealOptionalBinder()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java30 import static com.google.inject.multibindings.OptionalBinder.optionalOfProvider;
729 keyType.ofType(optionalOfProvider(keyType.getTypeLiteral())); in optionalInjectorTest()
865 keyType.ofType(optionalOfProvider(keyType.getTypeLiteral())); in optionalModuleTest()