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 Interfaces
    Class
    Description
    A MapKey annotation for maps with Class<?> keys.
    The method's return type is Set<T> and all values are contributed to the set.
    A MapKey annotation for maps with int keys.
    The method's return type forms the type argument for the value of a Map<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 a Set<T>, and the returned value is contributed to the set.
    A MapKey annotation for maps with Class<?> keys.
    A MapKey annotation for maps with long keys.
    Annotates abstract module methods that declare multibindings.
    A MapKey annotation for maps with String keys.