void () { setupLoadingFilter(); PsiClass aClass = myJavaFacade.findClass("pack.MyClass2", GlobalSearchScope.allScope(myProject)); PsiField field = aClass.getFields()[2]; PsiType type = field.getType(); LOG.assertTrue(type instanceof PsiArrayType); PsiType componentType = ((PsiArrayType) type).getComponentType(); assertTrue(componentType.equalsToText(CommonClassNames.JAVA_LANG_OBJECT)); assertFalse(componentType instanceof PsiPrimitiveType); assertFalse(componentType instanceof PsiArrayType); teardownLoadingFilter(); }