void (@NotNull JsonArray o) { super.visitArray(o); PsiElement lastChild = o.getLastChild(); if (lastChild == null || lastChild.getNode().getElementType() != JsonElementTypes.R_BRACKET) { return; } deleteTrailingCommas(ObjectUtils.coalesce(ContainerUtil.getLastItem(o.getValueList()), o.getFirstChild())); }