void (@NotNull JsonArray array) { if (myWarnAboutTrailingCommas && !allowTrailingCommas() && JsonStandardComplianceProvider.shouldWarnAboutTrailingComma(array)) { final PsiElement trailingComma = findTrailingComma(array.getLastChild(), JsonElementTypes.R_BRACKET); if (trailingComma != null) { myHolder.registerProblem(trailingComma, JsonBundle.message("inspection.compliance.msg.trailing.comma")); } } super.visitArray(array); }