public static @NotNull DocumentListener create(@NotNull Project project, @NotNull DocumentListener listener) {
    //noinspection TestOnlyProblems
    return ProjectManagerImpl.Companion.isLight(project) ? new ProjectDisposeAwareDocumentListener(project, listener) : listener;
  }
public static @NotNull DocumentListener create(@NotNull Project project, @NotNull DocumentListener listener)