int (ExpectedTypeInfo o1, ExpectedTypeInfo o2, PsiExpression expression) { PsiClass c1 = PsiUtil.resolveClassInType(o1.getDefaultType()); PsiClass c2 = PsiUtil.resolveClassInType(o2.getDefaultType()); if (c1 == null && c2 == null) return 0; if (c1 == null || c2 == null) return c1 == null ? -1 : 1; return compareMembers(c1, c2, expression); }