boolean (PsiType type1, PsiType type2) { if (type1 instanceof GrMapType) { if (((GrMapType)type1).isEmpty() && InheritanceUtil.isInheritor(type2, CommonClassNames.JAVA_UTIL_MAP)) return true; } return false; }