package pack; import static pack.A.Nested; class A { A(Nested nested) { } A() { this(new Nested(Nested.FIELD)); } static class Nested { Nested(int p){} public static final int FIELD = 0; } } class B { Nested nested; }