public static void stopIntroduce(Editor editor, Project project, @NlsContexts.Command String commandName) {
    TemplateState templateState = TemplateManagerImpl.getTemplateState(editor);
    if (templateState != null) {
      Runnable runnable = () -> templateState.gotoEnd(true);
      CommandProcessor.getInstance().executeCommand(project, runnable, commandName, commandName);
    }
  }
public static void stopIntroduce(Editor editor, Project project, @NlsContexts.Command String commandName)