public Type toPrimitive() {
        if (mPrimitive) {
            return this;
        }
        else {
            Class<?> primitive = convertToPrimitive(mObjectClass);
            if (primitive.isPrimitive()) { return new Type(primitive); }
            else { return new Type(mGenericType, primitive); }
        }
    }
public Type toPrimitive ( ) { if ( mPrimitive ) { return this ; } else { Class < ? > primitive = convertToPrimitive ( mObjectClass ) ; if ( primitive . isPrimitive ( ) ) { return new Type ( primitive ) ; } else { return new Type ( mGenericType , primitive ) ; } } }
Returns a new type from this one that represents a primitive type.
If this type cannot be represented by a primitive, then this is
returned.