code: def next(self):
          
          CheckParent(self)
  
          val = _fitz.Link_next(self)
  
          if val:
              val.thisown = True
              val.parent = self.parent # copy owning page from prev link
              val.parent._annot_refs[id(val)] = val
              if self.xref > 0: # prev link has an xref
                  link_xrefs = self.parent._getLinkXrefs()
                  idx = link_xrefs.index(self.xref)
                  val.xref = link_xrefs[idx + 1]
              else:
                  val.xref = 0
  
  
          return val
docs: next(self) -> Link