return (T) lotus;
}
if (!(lotus instanceof NotesBase)) {
// RPr: what do we if we don't get a wrappable object at all. This is a programming error, so throw exception
throw new UndefinedDelegateTypeException("Cannot wrap " + lotus.getClass().getName());
}
// 1) These objects are not cached and returned immediately. Recycle is done inside
if (lotus instanceof lotus.domino.Name // These objects are encapsulated
|| lotus instanceof lotus.domino.DateRange //