void () { setupLoadingFilter(); PsiClass aClass = myJavaFacade.findClass("pack.MyClass2", GlobalSearchScope.allScope(myProject)); assertTrue(aClass.getFields()[0].hasInitializer()); assertFalse(aClass.getFields()[1].hasInitializer()); assertFalse(aClass.getFields()[2].hasInitializer()); teardownLoadingFilter(); }