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