blob: 4c3048b6f56d5e0e3b82d73dbb6c2f9657c8410d [file] [log] [blame]
Søren Gjesse600b8242022-03-17 13:51:19 +01001// Copyright (c) 2022, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4package basic;
5
6import dagger.Module;
7import dagger.Provides;
8
9@Module
10class ModuleUsingProvides {
11 @Provides
12 // @Singleton (added by transformer in some tests)
13 public static I1 i1() {
14 return new I1Impl2();
15 }
16
17 @Provides
18 // @Singleton (added by transformer in some tests)
19 public static I2 i2() {
20 return new I2Impl2();
21 }
22
23 @Provides
24 // @Singleton (added by transformer in some tests)
25 public static I3 i3() {
26 return new I3Impl2();
27 }
28}