Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce generateCodeForArgument() in CodeFlow #32708

Closed
sbrannen opened this issue Apr 25, 2024 · 0 comments
Closed

Introduce generateCodeForArgument() in CodeFlow #32708

sbrannen opened this issue Apr 25, 2024 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

Overview

SpelNodeImpl currently defines a generateCodeForArgument() 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 the org.springframework.expression.spel.ast; however, there are times when it would be beneficial to be able to invoke this method from types within the org.springframework.expression.spel package that deal with compilation.

This is a prerequisite for the forthcoming CompilableIndexAccessor.

Related Issues

@sbrannen sbrannen added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Apr 25, 2024
@sbrannen sbrannen added this to the 6.2.0-M2 milestone Apr 25, 2024
@sbrannen sbrannen self-assigned this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant