Remove Kotlin nullability from Spring HTTP entity type arguments

Proprietary

Spring Framework 7 narrowed HttpEntity<T> (and its subtypes ResponseEntity and RequestEntity) to <T : Any>. This recipe removes Kotlin's ? nullable marker from the type argument of these types in declared parameterized types and in explicit method-invocation type arguments, so Kotlin sources continue to compile.

io.moderne.java.spring.framework7.RemoveNullabilityFromSpringHttpEntityTypeArguments
mod run . --recipe=io.moderne.java.spring.framework7.RemoveNullabilityFromSpringHttpEntityTypeArguments

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