text: public LooseRef peel(ObjectIdRef newLeaf) {ObjectId peeledObjectId = newLeaf.getPeeledObjectId();ObjectId objectId = getObjectId();if (peeledObjectId != null) {return new LoosePeeledTag(snapShot, getName(),objectId, peeledObjectId);}return new LooseNonTag(snapShot, getName(), objectId);}