spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
55.27k stars 37.62k forks source link

Make `SpelNode` compilation aware #32707

Closed sbrannen closed 3 weeks ago

sbrannen commented 3 weeks ago

Overview

SpelNodeImpl currently defines isCompilable() and generateCode(...) methods which make each SpelNodeImpl compilation aware; however, there are times when it would be beneficial to be able to invoke these methods via the SpelNode API – for example, for types within the org.springframework.expression.spel package that deal with compilation.

This is in fact a prerequisite for the forthcoming CompilableIndexAccessor.

Related Issues