public class X { X(B b, C c) { this.b = b; this.c = c; } public B b; public C c; }