Searched refs:newRealOptionalBinder (Results 1 – 3 of 3) sorted by relevance
19 import static com.google.inject.internal.RealOptionalBinder.newRealOptionalBinder;144 newRealOptionalBinder(binder.skipSources(OptionalBinder.class), Key.get(type))); in newOptionalBinder()149 newRealOptionalBinder(binder.skipSources(OptionalBinder.class), Key.get(type))); in newOptionalBinder()154 newRealOptionalBinder(binder.skipSources(OptionalBinder.class), type)); in newOptionalBinder()
92 return RealOptionalBinder.newRealOptionalBinder(binder, key).getKeyForDefaultBinding(); in prepareMethod()94 return RealOptionalBinder.newRealOptionalBinder(binder, key).getKeyForActualBinding(); in prepareMethod()
60 public static <T> RealOptionalBinder<T> newRealOptionalBinder(Binder binder, Key<T> type) { in newRealOptionalBinder() method in RealOptionalBinder