The box int getTypewill be returned int.class. This was so, since before the auto-box was introduced in Java, and therefore, correctly, if you maintain backward compatibility, it Class.isAssignableFrom(Class)returns falsewhen the type of an object is passed by a primitive type.
Or as in your case:
int.class.isAssignableFrom(int.class)
will return true, but:
int.class.isAssignableFrom(Integer.class)
will return false.
, , , Jakarta Commons (ClassUtils.isAssignable(, , )).