Searched refs:javaOptionalKey (Results 1 – 2 of 2) sorted by relevance
816 Key<?> javaOptionalKey = in optionalInjectorTest() local831 javaOptionalBinding = injector.getBinding(javaOptionalKey); in optionalInjectorTest()835 assertEquals(javaOptionalKey, javaOptionalBinder.getKey()); in optionalInjectorTest()947 } else if (b.getKey().equals(javaOptionalKey)) { in optionalInjectorTest()1006 Key<?> javaOptionalKey = in optionalModuleTest() local1021 Binding javaOptionalBinding = indexed.get(javaOptionalKey); in optionalModuleTest()1105 } else if (key != null && key.equals(javaOptionalKey)) { in optionalModuleTest()
288 Key<?> javaOptionalKey = key.ofType(javaOptionalOf(typeLiteral)); in bindJava8Optional() local290 .bind(javaOptionalKey) in bindJava8Optional()291 .toProvider(new JavaOptionalProvider(bindingSelection, javaOptionalKey)); in bindJava8Optional()