Find malformed property placeholders and SpEL expressions
ProprietaryMarks a string argument of a Spring annotation, such as @Value, @Scheduled, @RequestMapping or @ConditionalOnExpression, that holds a malformed ${...} property placeholder or #{...} SpEL expression: a missing closing brace, a placeholder whose name is not a property name, or SpEL that is blank or has an unterminated string literal or unpaired brackets. Such a mistake shows only at runtime, when the application context starts or the expression is first evaluated; Spring keeps an unclosed ${ as literal text. Only string literals and concatenations of them are read, not constants declared elsewhere or array elements. Test sources are not searched.
io. moderne. java. spring. framework. FindMalformedSpringExpressionmod run . --recipe= io. moderne. java. spring. framework. FindMalformedSpringExpressionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.