void () { setupLoadingFilter(); PsiClass aClass = myJavaFacade.findClass("pack.MyClass2", GlobalSearchScope.allScope(myProject)); PsiField field1 = aClass.getFields()[0]; PsiType type1 = field1.getType(); assertNull(PsiUtil.resolveClassInType(type1)); PsiField field2 = aClass.getFields()[1]; PsiType type2 = ((PsiArrayType) field2.getType()).getComponentType(); assertEquals("Object", type2.getPresentableText()); PsiField field3 = aClass.getFields()[2]; PsiType type3 = ((PsiArrayType) field3.getType()).getComponentType(); assertTrue(type3.equalsToText(CommonClassNames.JAVA_LANG_OBJECT)); teardownLoadingFilter(); }