public class B { B(X x) { this.x = x; } public X x; }