public static int length(Object[] buf)
    {
        return buf.length;
    }
This is used for method substitution in the LinkedArray classes code generation.
jctools-core/src/main/java/org/jctools/queues/LinkedArrayQueueUtil.java