code: private static TypeSerializer<?>[] createRegisteredSubclassSerializers(
  			LinkedHashSet<Class<?>> registeredSubclasses,
  			ExecutionConfig executionConfig) {
  
  		final TypeSerializer<?>[] subclassSerializers = new TypeSerializer[registeredSubclasses.size()];
  
  		int i = 0;
  		for (Class<?> registeredClass : registeredSubclasses) {
  			subclassSerializers[i] = TypeExtractor.createTypeInfo(registeredClass).createSerializer(executionConfig);
  			i++;
  		}
  
  		return subclassSerializers;
  	}
docs: Creates an array of serializers for provided list of registered subclasses.
  Order of returned serializers will correspond to order of provided subclasses.