Package dagger.producers
Annotation Interface ProductionSubcomponent.Builder
- Enclosing class:
ProductionSubcomponent
@Retention(RUNTIME)
@Target(TYPE)
@Documented
public static @interface ProductionSubcomponent.Builder
A builder for a production subcomponent.
This follows all the rules of Component.Builder
, except it must appear in classes
annotated with ProductionSubcomponent
instead of Component
.
If a subcomponent defines a builder, its parent component(s) will have a binding for that
builder type, allowing an instance or Provider
of that builder to be injected or
returned from a method on that component like any other binding.