Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/internal/
DOptionalBinderTest.java129 OptionalBinder.newOptionalBinder(binder(), String.class); in testTypeNotBoundByDefault()
156 OptionalBinder.newOptionalBinder(binder(), String.class); in testOptionalIsAbsentByDefault()
190 OptionalBinder.newOptionalBinder(binder(), String.class); in testUsesUserBoundValue()
232 OptionalBinder.newOptionalBinder(binder(), String.class); in testUsesUserBoundValueNullProvidersMakeAbsent()
286 OptionalBinder.newOptionalBinder(binder(), JitBinding.class); in testOptionalBinderDependsOnJitBinding()
302 OptionalBinder.newOptionalBinder(binder(), JitBinding.class); in testOptionalBinderDependsOnJitBinding()
331 OptionalBinder.newOptionalBinder(binder(), JitBinding.class); in testOptionalBinderDependsOnJitBinding()
348 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testSetDefault()
389 OptionalBinder.newOptionalBinder(binder(), String.class).setBinding().toInstance("a"); in testSetBinding()
431 OptionalBinder.newOptionalBinder(binder(), String.class); in testSetBindingOverridesDefault()
[all …]
DMultibinderTest.java1324 OptionalBinder.newOptionalBinder(binder(), String.class) in testSetAndMapValueAreDistinct()
1327 OptionalBinder.newOptionalBinder(binder(), String.class) in testSetAndMapValueAreDistinct()
1351 OptionalBinder.newOptionalBinder(binder(), String.class) in testSetAndMapValueAreDistinctInSpi()
/external/guice/core/src/com/google/inject/multibindings/
DOptionalBinder.java142 public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, Class<T> type) { in newOptionalBinder() method in OptionalBinder
147 public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, TypeLiteral<T> type) { in newOptionalBinder() method in OptionalBinder
152 public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, Key<T> type) { in newOptionalBinder() method in OptionalBinder
/external/guice/core/test/com/google/inject/
DNullableInjectionPointTest.java199 OptionalBinder.newOptionalBinder(binder(), Foo.class);