Home
last modified time | relevance | path

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

/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DOptionalBinder.java307 private final Key javaOptionalProviderKey; field in OptionalBinder.RealOptionalBinder
341 this.javaOptionalProviderKey = typeKey.ofType(javaOptionalOfProvider(literal)); in RealOptionalBinder()
345 this.javaOptionalProviderKey = null; in RealOptionalBinder()
398 binder.bind(javaOptionalProviderKey).toProvider(new JavaOptionalProviderProvider()); in bindJava8Optional()
400 binder.bind(javaOptionalJavaxProviderKey).to(javaOptionalProviderKey); in bindJava8Optional()
650 || elementKey.equals(javaOptionalProviderKey) in matchesJ8Keys()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java730 Key<?> javaOptionalProviderKey = HAS_JAVA_OPTIONAL ? in optionalInjectorTest() local
781 } else if (b.getKey().equals(javaOptionalProviderKey)) { in optionalInjectorTest()
866 Key<?> javaOptionalProviderKey = HAS_JAVA_OPTIONAL ? in optionalModuleTest() local
929 } else if (key != null && key.equals(javaOptionalProviderKey)) { in optionalModuleTest()