boolean (PsiParameter[] parameters, PsiParameter[] otherParameters, IntList ignores) { for (int i = 0; i < parameters.length; i++) { if (ignores.contains(i)) { continue; } final PsiType type = TypeConversionUtil.erasure(parameters[i].getType()); final PsiType otherType = TypeConversionUtil.erasure(otherParameters[i].getType()); if (!type.isAssignableFrom(otherType) && !otherType.isAssignableFrom(type)) { return false; } } return true; }