Inline maxAttemptsExpression constants ahead of the Spring Framework 7 migration
ProprietaryReplace 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. InlineSpringRetryMaxAttemptsExpressionConstantsmod run . --recipe= io. moderne. java. spring. boot4. InlineSpringRetryMaxAttemptsExpressionConstantsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.