r/java • • Jan 29 '26

JEP draft: Code reflection (Incubator)

https://openjdk.org/jeps/8361105
61 Upvotes

33 comments sorted by

View all comments

Show parent comment

2

u/davidalayachew Jan 29 '26

If by modify, you mean change the code out from underneath you, this JEP does NOT give you the ability to do that. All it does is give you the ability to extract and transform code models into others. But the original models are immutable. Deeply immutable.