void (@NotNull PsiArrayInitializerExpression expression) { if (!(expression.getParent() instanceof PsiNewExpression) && !(expression.getParent() instanceof PsiArrayInitializerExpression) && isPerformedRepeatedlyInLoop(expression)) { registerError(expression, Kind.ARRAY_INITIALIZER); } }