|
|
|
|
|
by _old_dude_
720 days ago
|
|
This is similar to the expression tree API of C# so no change in the JVM is required, only cooperation between the java compiler and the reflection API. The code model can be computed by the compiler, inserted in the classfile in a specific binary or text format and read at runtime using the reflection API. I've not taken a look to the implementation so it's speculation but I do not think the JVM need to be changed. |
|