void ( @NotNull PsiArrayInitializerExpression expression) { super.visitArrayInitializerExpression(expression); final PsiType type = expression.getType(); if (type == null) { return; } final PsiType componentType = type.getDeepComponentType(); if (!(componentType instanceof PsiPrimitiveType)) { return; } final int numElements = calculateNumElements(expression); if (numElements <= m_limit) { return; } registerError(expression, Integer.valueOf(numElements)); }