boolean (PsiType type) { if (type instanceof PsiArrayType) return true; PsiClass psiClass = PsiUtil.resolveClassInClassTypeOnly(type); return psiClass != null && (psiClass.isEnum() || JAVA_LANG_CLASS.equals(psiClass.getQualifiedName())); }