AOT-generated code is currently compiled without parameter names. It would be useful to have parameters available for functionality that heavily relies on reflection.
In Spring Data's AOT repository query methods with SpEL we use reflection to provide a named variable map for resolution of parameters. AOT and reflective repositories use the same code paths and having parameters within bytecode would be a convenient way for our arrangement to leverage SpEL without additing further indirections to AOT-generated code.
Motivated by spring-projects/spring-data-relational#2245