Searched refs:optionalBinding (Results 1 – 2 of 2) sorted by relevance
236 Optional<Binding> optionalBinding = in getBindingExpression() local254 if (optionalBinding.isPresent()) { in getBindingExpression()255 BindingExpression expression = createBindingExpression(optionalBinding.get(), request); in getBindingExpression()
821 Binding<Optional<T>> optionalBinding = injector.getBinding(optionalKey); in optionalInjectorTest() local824 (OptionalBinderBinding<Optional<T>>) optionalBinding.acceptTargetVisitor(visitor); in optionalInjectorTest()1016 Binding optionalBinding = indexed.get(optionalKey); in optionalModuleTest() local1018 (OptionalBinderBinding<Optional<T>>) optionalBinding.acceptTargetVisitor(visitor); in optionalModuleTest()