public class A {
  A(B b) {
    this.b = b;
  }

  public B b;

  public D f() {
    return new D();
  }
}

