@Nullable
  private static IndexedContainer getContainer(CountingLoop loop, PsiAssignmentExpression assignment) {
    IndexedContainer container = IndexedContainer.fromLengthExpression(loop.getBound());
    if (container == null) {
      if (!(assignment.getLExpression() instanceof PsiArrayAccessExpression arrayAccessExpression)) {
        return null;
      }
      container = IndexedContainer.arrayContainerWithBound(arrayAccessExpression, loop.getBound());
    }
    return container;
  }
@Nullable
  private static IndexedContainer getContainer(CountingLoop loop, PsiAssignmentExpression assignment)