sO mapMethodLike rgenget(O key, O o) { o = deref(o); if (o cast Map) { try object mapGet(o, key); if (key instanceof Int) try object mapGet(o, toLong(key)); } else if (key cast S) ret getOpt(o, key); null; }