Package dagger.multibindings
package dagger.multibindings
This package contains the API by which Dagger allows you to bind several objects into a
collection that can be injected without depending directly on each of the individual bindings.
- See Also:
-
ClassDescriptionA
MapKey
annotation for maps withClass<?>
keys.The method's return type isSet<T>
and all values are contributed to the set.AMapKey
annotation for maps withint
keys.The method's return type forms the type argument for the value of aMap<K, Provider<V>>
, and the combination of the annotated key and the returned value is contributed to the map as a key/value pair.The method's return type forms the generic type argument of aSet<T>
, and the returned value is contributed to the set.AMapKey
annotation for maps withClass<?>
keys.AMapKey
annotation for maps withlong
keys.Annotates abstract module methods that declare multibindings.