code: public static <T> TypeSerializer<T> wrapIfNullIsNotSupported(
  		@Nonnull TypeSerializer<T> originalSerializer, boolean padNullValueIfFixedLen) {
  		return checkIfNullSupported(originalSerializer) ?
  			originalSerializer : wrap(originalSerializer, padNullValueIfFixedLen);
  	}
docs: This method tries to serialize {@code null} value with the {@code originalSerializer}
  and wraps it in case of {@link NullPointerException}, otherwise it returns the {@code originalSerializer}.
  
  @param originalSerializer     serializer to wrap and add {@code null} support
  @param padNullValueIfFixedLen pad null value to preserve the fixed length of original serializer
  @return serializer which supports {@code null} values