[code-reflection] RFR: Remove the code model transformation: addVarsWhenNecessary.

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Apr 8 16:07:51 UTC 2025


On Tue, 8 Apr 2025 15:58:24 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

> We remove the code model transformation: `addVarsWhenNecessary`.

src/jdk.incubator.code/share/classes/jdk/incubator/code/internal/CodeModelToAST.java line 219:

> 217:     }
> 218: 
> 219:     private JCTree.JCExpression exprTree(Value v) {

Why do we have nodes in the `valueToTree` map that are not variables?

-------------

PR Review Comment: https://git.openjdk.org/babylon/pull/387#discussion_r2033540375


More information about the babylon-dev mailing list