docs: private static Collection<Container> keepOnlyLastIndexedContainer(Collection<Container> existingContainers, final String partiallyApplied) {
  
          Collection<Container> result = new ArrayList<>(existingContainers);
  
          // No index place holder, so nothing to filters
          if (!partiallyApplied.contains(INDEX_PLACEHOLDER)) {
              return result;
          }
  
          Map<String,Container> containerMap = existingContainers.stream().collect(Collectors.toMap(Container::getName, Function.identity()));
  
          Container last = null;
          for (long i = 1; i < Long.MAX_VALUE; i++) {
              final String withIndexApplied = partiallyApplied.replaceAll(INDEX_PLACEHOLDER, String.valueOf(i));
              Container mapped = containerMap.get(withIndexApplied);
              if (mapped != null) {
                  result.remove(mapped);
                  last = mapped;
              } else {
                  // Readd last one removed (if any)
                  if (last != null) {
                      result.add(last);
                  }
                  return result;
              }
          }
          throw new IllegalStateException("Internal error: Cannot find a free container index slot in " + existingContainers);
      }