void (@NotNull PsiArrayInitializerExpression expression) { if (!(expression.getParent() instanceof PsiVariable)) { // new expressions are already reported. return; } if (!isInsideEqualsOrHashCode(expression)) { return; } registerError(expression, expression); }