boolean () { final Editor editor = myEditorTextField.getEditor(); if (editor != null) { new JavaReferenceImporter().autoImportReferenceAtCursor(editor, myCodeFragment); } return super.stopCellEditing(); }