@RequiresEdt
    private static @Nullable EditorSwingCaretUpdatesCourier create(@NotNull EditorComponentImpl parent) {
      if ((parent.editor == null) || (parent.editor.isDisposed()) ) {
        return null;
      }

      return parent.new EditorSwingCaretUpdatesCourier();
    }
@RequiresEdt
    private static @Nullable EditorSwingCaretUpdatesCourier create(@NotNull EditorComponentImpl parent)