-
Notifications
You must be signed in to change notification settings - Fork 0
/
DaggerAppComponent.java
42 lines (33 loc) · 1.16 KB
/
DaggerAppComponent.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Generated by Dagger (https://google.github.io/dagger).
package ir.beigirad.semanticdagger.di;
import ir.beigirad.semanticdagger.MainActivity;
import ir.beigirad.semanticdagger.MainActivity_MembersInjector;
import ir.beigirad.semanticdagger.model.CoffeeMaker;
import ir.beigirad.semanticdagger.model.ElectricHeater;
import ir.beigirad.semanticdagger.model.Pump;
public final class DaggerAppComponent extends AppComponent {
private DaggerAppComponent() {}
public static Builder builder() {
return new Builder();
}
public static AppComponent create() {
return new Builder().build();
}
private CoffeeMaker getCoffeeMaker() {
return AppModule_ProvideCoffeeMakerFactory.provideCoffeeMaker(new ElectricHeater(), new Pump());
}
@Override
public void inject(MainActivity mainActivity) {
injectMainActivity(mainActivity);
}
private MainActivity injectMainActivity(MainActivity instance) {
MainActivity_MembersInjector.injectMCoffeeMaker(instance, getCoffeeMaker());
return instance;
}
public static final class Builder {
private Builder() {}
public AppComponent build() {
return new DaggerAppComponent();
}
}
}