Migrate JmxEndpointDiscoverer deprecated constructor

Proprietary

The 4-parameter constructor of JmxEndpointDiscoverer has been deprecated in Spring Boot 3.4. This recipe transforms it to use the new 5-parameter constructor with an additional Collection parameter.

io.moderne.java.spring.boot3.MigrateJmxEndpointDiscovererConstructor
mod run . --recipe=io.moderne.java.spring.boot3.MigrateJmxEndpointDiscovererConstructor

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.