Comment From: wilkinsona
Having implemented it, I'm not completely convinced that this is a good idea. The thing that putting me off the most is the impact that it has on other auto-configuration classes and any @AutoConfigureBefore and @AutoConfigureAfter annotations that references the auto-configuration class that's moving. That's fine within our own codebase, but a pain for third parties, particularly if they want to try and support Boot 2.6 alongside an earlier version. I'm not sure that the benefit of moving things (which is largely cosmetic) outweighs this cost.
Comment From: philwebb
I wonder if we should look again at #14860. Seems like I already did a fair bit of work on it (of which I have no memory).
Comment From: philwebb
We'll take a look at #14860, but if we can't get that in then we'll leave things as they are.
Comment From: wilkinsona
Flagging for team attention so that we can consider doing this in 3.0 without https://github.com/spring-projects/spring-boot/issues/14860.