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
Overview
SpelNodeImplcurrently definesisCompilable()andgenerateCode(...)methods which make eachSpelNodeImplcompilation aware; however, there are times when it would be beneficial to be able to invoke these methods via theSpelNodeAPI – for example, for types within theorg.springframework.expression.spelpackage that deal with compilation.This is in fact a prerequisite for the forthcoming
CompilableIndexAccessor.Related Issues
CompilableIndexAccessorSPI in SpEL #32613generateCodeForArgument()inCodeFlow#32708