presto-thrift-api/src/main/java/io/prestosql/plugin/thrift/api/PrestoThriftHostAddress.java/PrestoThriftHostAddress/toHostAddress
class PrestoThriftHostAddress:    public HostAddress toHostAddress()
    {
        return HostAddress.fromParts(getHost(), getPort());
    }