This was the goal in #33712, but it wasn't actually added. We can do that for String locations at least.

Comment From: bclozel

If that's where we're headed, we should reopen and consider https://github.com/spring-projects/spring-framework/pull/33817

Comment From: rstoyanchev

Yes that makes sense.