Home | History | Annotate | Download | only in coffee
      1 package coffee;
      2 
      3 import dagger.Module;
      4 import dagger.Provides;
      5 import javax.inject.Singleton;
      6 
      7 @Module(includes = PumpModule.class)
      8 class DripCoffeeModule {
      9   @Provides @Singleton Heater provideHeater() {
     10     return new ElectricHeater();
     11   }
     12 }
     13