private boolean validate(final Object target, final Object[] args) {
        if (ArrayUtils.isEmpty(args) || args[0] == null) {
            if (isDebug) {
                logger.debug("Invalid arguments. Null or not found args({}).", args);
            }
            return false;
        }

        if (!(target instanceof EndPointAccessor)) {
            if (isDebug) {
                logger.debug("Invalid target object. Need field accessor({}).", EndPointAccessor.class.getName());
            }
            return false;
        }
        return true;
    }
Jedis (redis client) constructor interceptor
- trace endPoint

@author jaehong.kim
agent-module/plugins/redis/src/main/java/com/navercorp/pinpoint/plugin/redis/jedis/interceptor/SetEndPointInterceptor.java