Is there any way to do something similar, using java>9, to what is done in this article where it adds the final modifier to private variables?
I know tools.jar has been declared as legacy but how does lombok still work in java11?
I know there are some trees described here that allows you to parse the code but you can't tamper with it. Is there any other alternative ? What was the reasoning behind making tools.jar unavailable ?(i know it can still be used if you add some JVM flags but who would want to use something that can be changed without notice).