Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/internal/
DOptionalBinderTest.java269 private static class JitBinding { class in OptionalBinderTest
271 JitBinding() {} in JitBinding() method in OptionalBinderTest.JitBinding
276 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 …]