void (Project project, Editor editor, @NotNull PyNamedParameter parameter) { if (!FileModificationService.getInstance().preparePsiElementForWrite(parameter)) return; WriteAction.run(() -> annotateParameter(project, editor, parameter, true)); }