sO parseIntOrDoubleOrKeepObject(O o) { if (o cast S) { try object parseIntOptOrNull(o); try object parseDoubleOpt(o); } ret o; }