void (@NotNull Project project, @NotNull PsiFile file, @Nullable Editor editor, @NotNull PsiElement startElement, @NotNull PsiElement endElement) { if (ApplicationManager.getApplication().isUnitTestMode()) { final PsiElement element = myStartElement.getElement(); if (editor != null && element != null) { final ReflectiveSignature signature = editor.getUserData(DEFAULT_SIGNATURE); if (signature != null && mySignatures.contains(signature)) { applyFix(project, element, signature); } editor.putUserData(POSSIBLE_SIGNATURES, createLookupElements()); } return; } if (mySignatures.size() == 1) { applyFix(project, startElement, mySignatures.get(0)); } else if (editor != null) { showLookup(project, editor); } }