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