public static Remote toStub(Remote obj)
public static Remote toStub(Remote targetImpl)
  public static Remote toStub(Remote obj)    throws NoSuchObjectException  {    if(delegate != null)      return delegate.toStub(obj);    else      return null;  }