void (@NotNull Project project, Editor editor, PsiFile file) { PsiParameter parameter = FieldFromParameterUtils.findParameterAtCursor(file, editor); if (parameter == null || !FileModificationService.getInstance().prepareFileForWrite(file)) return; IdeDocumentHistory.getInstance(project).includeCurrentPlaceAsChangePlace(); processParameter(editor, parameter, !ApplicationManager.getApplication().isHeadlessEnvironment()); }