Introduce generateCodeForArgument()
in CodeFlow
#32708
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Overview
SpelNodeImpl
currently defines agenerateCodeForArgument()
utility method which "asks an argument to generate its bytecode and then follow it up with any boxing/unboxing/checkcasting to ensure it matches the expected parameter descriptor."This utility method is currently
protected
and cannot be used outside theorg.springframework.expression.spel.ast
; however, there are times when it would be beneficial to be able to invoke this method from types within theorg.springframework.expression.spel
package that deal with compilation.This is a prerequisite for the forthcoming
CompilableIndexAccessor
.Related Issues
CompilableIndexAccessor
SPI in SpEL #32613SpelNode
compilation aware #32707The text was updated successfully, but these errors were encountered: