Package dagger.producers
Annotation Interface ProducerModule
Annotates a class that contributes
Produces
bindings to the production component.- Since:
- 2.0
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<?>[]
Additional@ProducerModule
- orModule
-annotated classes from which this module is composed.Class<?>[]
AnySubcomponent
- orProductionSubcomponent
-annotated classes which should be children of the component in which this module is installed.
-
Element Details
-
includes
Class<?>[] includesAdditional@ProducerModule
- orModule
-annotated classes from which this module is composed. The de-duplicated contributions of the modules inincludes
, and of their inclusions recursively, are all contributed to the object graph.- Default:
- {}
-
subcomponents
Class<?>[] subcomponentsAnySubcomponent
- orProductionSubcomponent
-annotated classes which should be children of the component in which this module is installed. A subcomponent may be listed in more than one module in a component.- Since:
- 2.7
- Default:
- {}
-