void () { myFixture.addClass("package foo; class Outer { static class Inner {static String FOO = \"\";}}"); myFixture.configureByText("a.java", """ package foo; class Usage { { String foo = In<caret>ner.FOO; } } """); importClass(); myFixture.checkResult(""" package foo; class Usage { { String foo = Outer.Inner.FOO; } } """); }