svoid fixOuterRefs(O o) ctex { if (o == null) ret; Field[] l = thisDollarOneFields(o.getClass()); O father; for (Field f : l) { father = f.get(o); if (father != null) break; } if (father == null) ret; for (Field f : l) f.set(o, father); }