Package dagger
Annotation Type Module
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface Module
Annotates a class that contributes to the object graph.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>[]
includes
Additional@Module
-annotated classes from which this module is composed.java.lang.Class<?>[]
subcomponents
AnySubcomponent
- or@ProductionSubcomponent
-annotated classes which should be children of the component in which this module is installed.
-
-
-
-
subcomponents
@Beta java.lang.Class<?>[] subcomponents
AnySubcomponent
- or@ProductionSubcomponent
-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:
- {}
-
-