void () { myFixture.addClass("package one; public class X { public class Inner {} public static void method() {}}"); doTest("package one;" + "import static one.X.*; " + "import one.X.*;" + " class Y { " + " void m() {" + " method(); " + " Inner inner = new X().new Inner();" + " }" + "}"); }