Fix checkstyle issues with method ordering following the spring-javaformat upgrade. See gh-13932
apply-plugin