boolean (PsiType leftType, PsiType rightType, boolean ignoreEllipsis) { if (ignoreEllipsis) { if (leftType instanceof PsiEllipsisType) { leftType = ((PsiEllipsisType)leftType).toArrayType(); } if (rightType instanceof PsiEllipsisType) { rightType = ((PsiEllipsisType)rightType).toArrayType(); } } return Comparing.equal(leftType, rightType); }