Lombok has a neat feature to use var instead of local variable datatype declarations. Is there a way to "refactor" your entire code base automatically to use var
whenever applicable? I'm using IntelliJ IDEA
and the Lombok plugin
. I didn't find a feature like this.
Also, does it even make sense since var
is still considered "experimental" so it might "mess up" the code base when it gets deprecated/is somehow bugged/gets replaced/moved?