Uses of Class
com.google.inject.internal.RealMapBinder
Packages that use RealMapBinder
Package
Description
Guice (sounds like "juice")
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar
.-
Uses of RealMapBinder in com.google.inject.internal
Methods in com.google.inject.internal that return RealMapBinderModifier and TypeMethodDescriptionstatic <K,
V> RealMapBinder<K, V> RealMapBinder.newMapRealBinder
(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) Returns a new mapbinder that collects entries ofkeyType
/valueType
in aMap
that is itself bound with no binding annotation.(package private) static <K,
V> RealMapBinder<K, V> RealMapBinder.newRealMapBinder
(Binder binder, TypeLiteral<K> keyType, Key<V> valueTypeAndAnnotation) private static <K,
V> RealMapBinder<K, V> RealMapBinder.newRealMapBinder
(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Key<Map<K, V>> mapKey, RealMultibinder<Map.Entry<K, Provider<V>>> entrySetBinder) static <K,
V> RealMapBinder<K, V> RealMapBinder.newRealMapBinder
(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) Returns a new mapbinder that collects entries ofkeyType
/valueType
in aMap
that is itself bound withannotation
.static <K,
V> RealMapBinder<K, V> RealMapBinder.newRealMapBinder
(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Class<? extends Annotation> annotationType) Returns a new mapbinder that collects entries ofkeyType
/valueType
in aMap
that is itself bound withannotationType
. -
Uses of RealMapBinder in com.google.inject.multibindings
Fields in com.google.inject.multibindings declared as RealMapBinderConstructors in com.google.inject.multibindings with parameters of type RealMapBinder