text: public override ObjectLoader Open(AnyObjectId objectId, int typeHint){ObjectLoader ldr = db.OpenObject(this, objectId);if (ldr == null){if (typeHint == OBJ_ANY){throw new MissingObjectException(objectId.Copy(), "unknown");}throw new MissingObjectException(objectId.Copy(), typeHint);}if (typeHint != OBJ_ANY && ldr.GetType() != typeHint){throw new IncorrectObjectTypeException(objectId.Copy(), typeHint);}return ldr;}