void () { configureByFiles(getName(), getName() + "/Bar.java", getName() + "/Foo.java"); PsiField classForSearch = findClass("Foo").findFieldByName("CONST", false); assertSameUsageAfterRebuild(classForSearch); }