link.getSourceCell()

Return the source cell (element or link) of the link, or null if the element's source is a point.