code: private static String createTypeCollectionId(Collection<Type> types) {
          return types.stream()
              .sorted(comparing(CdiSpiHelper::createTypeId))
              .map(CdiSpiHelper::createTypeId)
              .collect(joining(",", "[", "]"));
      }
docs: Generates a unique signature of a collection of types.