public static @NotNull DataContext caretDataContext(@NotNull DataContext context, @NotNull Caret caret) {
    if (CommonDataKeys.CARET.getData(context) == caret) return context;
    return freshCaretDataContext(context, caret);
  }
public static @NotNull DataContext caretDataContext(@NotNull DataContext context, @NotNull Caret caret)