| 5 | |
| 6 | public class CoffeeApp { |
| 7 | @Singleton |
| 8 | @Component(modules = { DripCoffeeModule.class }) |
| 9 | public interface CoffeeShop { |
| 10 | CoffeeMaker maker(); |
| 11 | } |
| 12 | |
| 13 | public static void main(String[] args) { |
| 14 | CoffeeShop coffeeShop = DaggerCoffeeApp_CoffeeShop.builder().build(); |