Does ClassUtils have any method returns a corresponding primitive class from a primitive wrapper class?
I found resolvePrimitiveIfNecessary but I can't find the opposite.
Class<?> c = ...;
if (ClassUtils.isPrimitiveWrapper(c)) {
Class<?> primitive = @@?
}
I know I can always get the TYPE field value from any primitive wrapper class. And I want to know is there a method for that with ClassUtils.