}
else
{
final Object retval = convertPlainToPlain(targetType, valuePair
.getType(), valuePair.getValue());
return new TypeValuePair(targetType, new Object[]
{ retval });
}
}
final Object value = valuePair.getValue();
final Object o = convertPlainToPlain(targetType, valuePair.getType(), value);
if (value == o)
{
return valuePair;
}
return new TypeValuePair(targetType, o);
}