@property<EOL><INDENT>def next(self):<DEDENT>
CheckParent(self)<EOL>val = _fitz.Link_next(self)<EOL>if val:<EOL><INDENT>val.thisown = True<EOL>val.parent = self.parent <EOL>val.parent._annot_refs[id(val)] = val<EOL>if self.xref > <NUM_LIT:0>: <EOL><INDENT>link_xrefs = self.parent._getLinkXrefs()<EOL>idx = link_xrefs.index(self.xref)<EOL>val.xref = link_xrefs[idx + <NUM_LIT:1>]<EOL><DEDENT>else:<EOL><INDENT>val.xref = <NUM_LIT:0><EOL><DEDENT><DEDENT>return val<EOL>
next(self) -> Link