import pack.WithInnerAClass; public class Test1 { public void foo() { new WithInnerAClass() } }