generate ToString and EqualsAndHashCode annotations