@NotNull
  @Override
  public String preprocessOnPaste(Project project, PsiFile file, Editor editor, String text, RawText rawText) {
    if (editor.getUserData(REMOVE_NEWLINES_ON_PASTE) != null) {
      return StringUtil.convertLineSeparators(text, " ");
    }
    return text;
  }
@NotNull
  @Override
  public String preprocessOnPaste(Project project, PsiFile file, Editor editor, String text, RawText rawText)