protected String getEndPoint(Object[] args) {
        // call(PayloadCarryingRpcController pcrc, MethodDescriptor md,
        //      Message param, Message returnType, User ticket, InetSocketAddress addr,
        //      MetricsConnection.CallStats callStats)
        if (ArrayUtils.getLength(args) == 7) {
            InetSocketAddress socketAddress = ArrayArgumentUtils.getArgument(args, 5, InetSocketAddress.class);
            if (socketAddress != null) {
                return SocketAddressUtils.getHostNameFirst(socketAddress);
            }
        }
        return null;
    }
Gets end point.

@param args the args
@return the end point
agent-module/plugins/hbase/src/main/java/com/navercorp/pinpoint/plugin/hbase/interceptor/HbaseClientMethodInterceptor.java