Currently there is no way to disable any-getter or any-setter designation; there should be.
The easiest way seems to be by just adding a property; and although value might allow shortest way to designate disabling, choice of enabled is probably more readable in the end so let's go with that.
(for follow-up, see https://github.com/FasterXML/jackson-databind/issues/1376)
Currently there is no way to disable any-getter or any-setter designation; there should be. The easiest way seems to be by just adding a property; and although
value
might allow shortest way to designate disabling, choice ofenabled
is probably more readable in the end so let's go with that.