public static boolean cannotBeEqualByContract(PsiType type1, PsiType type2) {
    // java.util.Set and java.util.List cannot be equal by contract
    if (InheritanceUtil.isInheritor(type1, CommonClassNames.JAVA_UTIL_SET) && InheritanceUtil.isInheritor(type2, CommonClassNames.JAVA_UTIL_LIST)) {
      return true;
    }
    if (InheritanceUtil.isInheritor(type1, CommonClassNames.JAVA_UTIL_LIST) && InheritanceUtil.isInheritor(type2, CommonClassNames.JAVA_UTIL_SET)) {
      return true;
    }
    return false;
  }
public static boolean cannotBeEqualByContract(PsiType type1, PsiType type2)