void () { myFixture.addClass(""" package pkg; public class Sub extends Super { } class Super { public static class Foo { } }"""); myFixture.configureByText("Main.java", """ import pkg.*; public class Main { public static void main(String[] args) { Sub.F<caret> } }"""); myFixture.completeBasic(); myFixture.checkResult(""" import pkg.*; public class Main { public static void main(String[] args) { Sub.Foo } }"""); }