code: private void registerTypeMappings(
        TypeMapping registryTypeMapping, List<TypeMapping> typeMappings) {
      Preconditions.checkNotNull(registryTypeMapping, "Null registry type mapping");
      Preconditions.checkNotNull(typeMappings, "Null type mappings");
      Preconditions.checkArgument(!typeMappings.isEmpty(), "Empty type mappings");
      for (TypeMapping typeMapping : typeMappings) {
        for (Class<?> mappingClass : typeMapping.getAllClasses()) {
          QName classQName = typeMapping.getTypeQName(mappingClass);
          DeserializerFactory deserializer = typeMapping.getDeserializer(mappingClass, classQName);
          if (deserializer != null && !registryTypeMapping.isRegistered(mappingClass, classQName)) {
            registryTypeMapping.register(
                mappingClass, classQName, (SerializerFactory) null, deserializer);
          }
        }
      }
    }
docs: Adds the type mappings in the list to {@code registryTypeMapping}.