void (@NotNull Project project, @NotNull PsiFile file, @Nullable Editor editor, @NotNull PsiElement startElement, @NotNull PsiElement endElement) { final PsiParameter myParameter = (PsiParameter)startElement; if (!FileModificationService.getInstance().prepareFileForWrite(myParameter.getContainingFile())) return; removeReferences(myParameter); }