| In the User Guide, getters and setters are usually replaced by a simple comment:
The same should be done to the constructors (no-args + one other) and to field-based equals/hashCode implementations, since they are boring and distract from the main topic of each of the examples. To make this work a bit less tedious and the result very consistent, a program should be written that inserts the required code snippets automatically. It should be checked in with the test sources, so that it can be run in the future. This program should allow exceptions from the general omissions, which can be configured directly in the program. |