Searched refs:JitBinding (Results 1 – 1 of 1) sorted by relevance
269 private static class JitBinding { class in OptionalBinderTest271 JitBinding() {} in JitBinding() method in OptionalBinderTest.JitBinding276 DependsOnJitBinding(JitBinding jitBinding) {} in DependsOnJitBinding()286 OptionalBinder.newOptionalBinder(binder(), JitBinding.class); in testOptionalBinderDependsOnJitBinding()292 assertFalse(injector.getInstance(optionalKey(JitBinding.class)).isPresent()); in testOptionalBinderDependsOnJitBinding()293 assertNull(injector.getExistingBinding(Key.get(JitBinding.class))); in testOptionalBinderDependsOnJitBinding()302 OptionalBinder.newOptionalBinder(binder(), JitBinding.class); in testOptionalBinderDependsOnJitBinding()307 assertTrue(injector.getInstance(optionalKey(JitBinding.class)).isPresent()); in testOptionalBinderDependsOnJitBinding()308 assertNotNull(injector.getExistingBinding(Key.get(JitBinding.class))); in testOptionalBinderDependsOnJitBinding()323 injector.getInstance(JitBinding.class); in testOptionalBinderDependsOnJitBinding()[all …]