public static void templateChild( FormInstance dm, String prefixPath, TreeReference parent, Restorable r) { TreeReference childRef = (prefixPath == null ? parent : RestoreUtils.childRef(prefixPath, parent)); childRef = childRef(r.getRestorableType(), childRef); templateData(r, dm, childRef); }