toPrimitiveType

Cast class to primitive type if possible

Return

primitive type class if possible or itself