void (@NotNull LookupEvent event) { final LookupElement item = event.getItem(); if (item != null) { final PsiElement element = getStartElement(); final Object object = item.getObject(); if (element != null && object instanceof ReflectiveSignature) { WriteAction.run(() -> applyFix(project, element, (ReflectiveSignature)object)); } } }