void (@NotNull PsiBinaryExpression expression) { super.visitBinaryExpression(expression); final PsiExpression rhs = expression.getROperand(); if (rhs == null || !ComparisonUtils.isEqualityComparison(expression)) { return; } final PsiExpression lhs = expression.getLOperand(); final PsiType lhsType = lhs.getType(); if (!(lhsType instanceof PsiArrayType) || !(rhs.getType() instanceof PsiArrayType)) { return; } registerError(expression.getOperationSign(), lhsType); }