Searched refs:javaOptionalKey (Results 1 – 2 of 2) sorted by relevance
305 private final Key javaOptionalKey; field in OptionalBinder.RealOptionalBinder339 this.javaOptionalKey = typeKey.ofType(javaOptionalOf(literal)); in RealOptionalBinder()343 this.javaOptionalKey = null; in RealOptionalBinder()397 binder.bind(javaOptionalKey).toProvider(new JavaOptionalProvider()); in bindJava8Optional()455 return javaOptionalKey; in getKey()649 return elementKey.equals(javaOptionalKey) in matchesJ8Keys()
663 Key<?> javaOptionalKey = HAS_JAVA_OPTIONAL ? in optionalInjectorTest() local676 javaOptionalBinding = injector.getBinding(javaOptionalKey); in optionalInjectorTest()679 assertEquals(javaOptionalKey, javaOptionalBinder.getKey()); in optionalInjectorTest()769 } else if (b.getKey().equals(javaOptionalKey)) { in optionalInjectorTest()825 Key<?> javaOptionalKey = HAS_JAVA_OPTIONAL ? in optionalModuleTest() local838 Binding javaOptionalBinding = indexed.get(javaOptionalKey); in optionalModuleTest()917 } else if (key != null && key.equals(javaOptionalKey)) { in optionalModuleTest()