{
if(object == null)
return null;
else if(object instanceof IPdfIndirectObject)
{
IPdfIndirectObject indirectObject = (IPdfIndirectObject)object;
return new ResolvedObject<T>((T)indirectObject.getDataObject(),indirectObject.getIndirectObject());
}
else
return new ResolvedObject<T>((T)object,container.getIndirectObject());
}