coffee.DripCoffeeModule Maven / Gradle / Ivy
 The newest version!
        
        package coffee;
import dagger.Module;
import dagger.Provides;
import javax.inject.Singleton;
@Module(
    entryPoints = CoffeeApp.class,
    includes = PumpModule.class
)
class DripCoffeeModule {
  @Provides @Singleton Heater provideHeater() {
    return new ElectricHeater();
  }
}
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy