aboutsummaryrefslogtreecommitdiff
path: root/javatests/dagger/internal/codegen/goldens/SubcomponentValidationTest_subcomponentNamesShouldNotConflictWithParent_FAST_INIT_MODE_test.DaggerC
blob: e2c98e3d40da25769546938b79c58f2993d73957 (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package test;

import dagger.internal.DaggerGenerated;
import javax.annotation.processing.Generated;

@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava",
    "cast"
})
final class DaggerC {
  private DaggerC() {
  }

  public static Builder builder() {
    return new Builder();
  }

  public static C create() {
    return new Builder().build();
  }

  static final class Builder {
    private Builder() {
    }

    public C build() {
      return new t_CImpl();
    }
  }

  private static final class F_CImpl implements Foo.C {
    private final t_CImpl _t_CImpl;

    private final F_CImpl f_CImpl = this;

    private F_CImpl(t_CImpl _t_CImpl) {
      this._t_CImpl = _t_CImpl;


    }
  }

  private static final class t_CImpl implements C {
    private final t_CImpl _t_CImpl = this;

    private t_CImpl() {


    }

    @Override
    public Foo.C newInstanceC() {
      return new F_CImpl(_t_CImpl);
    }
  }
}