My generated builders are getting rather large for huge records and it is an unnecessary strain on javac. Additionally, this can be a problem for e.g. android users that want to limit their app sizes and avoid the upper limits of class count in DEX.
I was intending on making the enableGetters=false flag also remove the getters on the wither, but that turned out to be a bit of an adventure in rewrite, so I omitted that particular part just to keep the PR small.
My generated builders are getting rather large for huge records and it is an unnecessary strain on javac. Additionally, this can be a problem for e.g. android users that want to limit their app sizes and avoid the upper limits of class count in DEX.
I was intending on making the enableGetters=false flag also remove the getters on the wither, but that turned out to be a bit of an adventure in rewrite, so I omitted that particular part just to keep the PR small.