sO smartValueConvert1(Class type, O value) ctex { type = primitiveToBoxedTypeOpt(type); if (type == Int.class && !value instanceof Int) ret toInt(trimIfString(value)); ret value; }