Package dagger.multibindings
Annotation Type IntoMap
-
@Documented @Target(METHOD) @Retention(RUNTIME) public @interface IntoMap
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. TheMap<K, Provider<V>>
produced from the accumulation of values will be immutable.- See Also:
- Map multibinding