关于mybatis-plus wrapper in查询传数组的问题

最近在开发中使用mybatis-plus的wrapper查询,遇到一个问题,使用in查询传递基本数据类型的数组作为参数,识别为可变参数的重载方法
下面是wrapper的两个方法重载

default Children in(R column, Object... values) {
        return this.in(true, column, values);
    }

default Children in(R column, Collection<?> coll) {
        return this.in(true, column, coll);
    }

wrapper.in(AdeHolidayApplyRecord::getState,new Integer[]{2,3})这么定义进入的是第二个方法
wrapper.in(AdeHolidayApplyRecord::getState,new int[]{2,3})这么传参数进入的是第一个方法,还把数据看成了一个对象,可以参数size只有1
这是什么道理呢

要这样写 wrapper.in(AdeHolidayApplyRecord::getState, 2 , 3);

Object... values 这样会把 new int[]{2,3} 当成一个元素,也就是 int[][]