Package dagger
Annotation Type Subcomponent
-
@Retention(RUNTIME) @Target(TYPE) @Documented public @interface Subcomponent
A subcomponent that inherits the bindings from a parentComponent
orSubcomponent
. The details of how to associate a subcomponent with a parent are described in the documentation forComponent
.- Since:
- 2.0
-
-
Element Detail
-
modules
java.lang.Class<?>[] modules
A list of classes annotated withModule
whose bindings are used to generate the subcomponent implementation. Note that through the use ofModule.includes()
the full set of modules used to implement the subcomponent may include more modules that just those listed here.- Default:
- {}
-
-