Inline maxAttemptsExpression constants ahead of the Spring Framework 7 migration

Proprietary

Replace a static final String constant referenced by spring-retry's @Retryable(maxAttemptsExpression = ...) with its literal value, so that the migration to Spring Framework 7's maxRetriesString can apply the required maxAttempts-to-maxRetries decrement instead of moving the annotation to the generated compat class. Only constants declared in the sources being migrated are resolved.

io.moderne.java.spring.boot4.InlineSpringRetryMaxAttemptsExpressionConstants
mod run . --recipe=io.moderne.java.spring.boot4.InlineSpringRetryMaxAttemptsExpressionConstants

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