Add checkstyle rule for List.of() / Set.of() / Map.of()

This commits adds a checkstyle rule to not use List.of(), Set.of() and Map.of(), preferring Collections.emptyList() / emptySet() / emptyMap().

It replaces usages of these methods across the code base.

closes gh-31973

Comment From: pivotal-cla

@bertoltmeier Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@bertoltmeier Thank you for signing the Contributor License Agreement!

Comment From: wilkinsona

@bertoltmeier Thank you very much for making your first contribution to Spring Boot.