private boolean validate(Object target, Object[] args) {
        if (ArrayUtils.isEmpty(args)) {
            return false;
        }
        if (!(target instanceof AMQChannel)) {
            if (isDebug) {
                logger.debug("Expected target to be of type AMQChannel, but was {}", target.getClass().getName());
            }
            return false;
        }
        if (!(args[0] instanceof AMQCommand)) {
            if (isDebug) {
                String args0 = args[0] == null ? "null" : args[0].getClass().getName();
                logger.debug("Expected args[0] to be of type AMQCommand, but was {}", args0);
            }
            return false;
        }
        return true;
    }
Consumer entry point interceptor for basic.get-ok.
The interception point does feel a bit forced and could use some improvment if possible.

@author HyunGil Jeong
agent-module/plugins/rabbitmq/src/main/java/com/navercorp/pinpoint/plugin/rabbitmq/client/interceptor/RabbitMQConsumerHandleCompleteInboundCommandInterceptor.java