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:
-
Annotation InterfacesClassDescriptionA
MapKeyannotation for maps withClass<?>keys.The method's return type isSet<T>and all values are contributed to the set.AMapKeyannotation for maps withintkeys.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.AMapKeyannotation for maps withClass<?>keys.AMapKeyannotation for maps withlongkeys.Annotates abstract module methods that declare multibindings.