return convertTypedValue(context,new TypedValue(value),targetType);
}
@SuppressWarnings("unchecked")
public static <T> T convertTypedValue(EvaluationContext context, TypedValue typedValue, Class<T> targetType) {
Object value = typedValue.getValue();
<BUG>if (targetType == null || ClassUtils.isAssignableValue(targetType, value)) {
</BUG>
return (T) value;
}
if (context != null) {

return convertTypedValue(context,new TypedValue(value),targetType);
}
@SuppressWarnings("unchecked")
public static <T> T convertTypedValue(EvaluationContext context, TypedValue typedValue, Class<T> targetType) {
Object value = typedValue.getValue();
if ((targetType == null) || (value != null && ClassUtils.isAssignableValue(targetType, value))) {
return (T) value;
}
if (context != null) {
