A value class is defined to be only Java-compatible values: unit is not part of it, as opposed to isPrimitiveValueClass in definitions.
A value class is defined to be only Java-compatible values: unit is not part of it, as opposed to isPrimitiveValueClass in definitions. scala.Int is a value class, java.lang.Integer is not.
The boxed type if it's a primitive; identity otherwise.