@NotNull
    private static List<PsiMethodCallExpression> collectGetCalls(PsiStatement body,
                                                                 IndexedContainer container,
                                                                 PsiLocalVariable counter) {
      return StreamEx.of(PsiTreeUtil.findChildrenOfType(body, PsiMethodCallExpression.class))
        .filter(call -> ExpressionUtils.isReferenceTo(container.extractIndexFromGetExpression(call), counter)).toList();
    }
@NotNull
    private static List<PsiMethodCallExpression> collectGetCalls(PsiStatement body,
                                                                 IndexedContainer container,
                                                                 PsiLocalVariable counter)