Closed
Description
At the moment, the validation logic for SpEL expressions is pretty simple using the standard SpEL parser that comes with Spring itself. If the parser reports a problem while parsing, this problem is reported as a diagnostic for the whole expression.
The goal is to use a more sophisticated diagnostics detection for SpEL expressions and report more fine grained and detailed diagnostics. Maybe we need to adopt an ANTLR-based parser for this (instead of the standard SpEL parser), but that depends on the features the parser offers for this more detailed diagnostics.