@SuppressWarnings("unchecked") private void onLinkClick(ActionEvent e) { e = e.copyFor(LinkTableColumn.this, e.getTarget()); LinkTableColumn.this .getOnAction() .handle(new ColumnClickEvent<S, T>(e, ((S) this.getTableRow().getItem()), getItem())); }