class NetworkAddressModelDataMapper {

  public NetworkAddress transformInverse(NetworkAddressModel networkAddressModel) {
    if (networkAddressModel == null) {
      throw new IllegalArgumentException("Cannot transform a null NetworkAddressModel object.");
    }

    return NetworkAddress.builder()
        .ip(networkAddressModel.ip())
        .port(networkAddressModel.port())
        .build();
  }

  @Inject public  NetworkAddressModelDataMapper();

}