void (@NotNull PsiArrayInitializerExpression expression) { super.visitArrayInitializerExpression(expression); final PsiType type = expression.getType(); if (!(type instanceof PsiArrayType)) { return; } final PsiElement parent = expression.getParent(); if (!(parent instanceof PsiNewExpression)) { final String typeText = TypeConversionUtil.erasure(type).getCanonicalText(); registerError(expression, typeText); } }