P260 @Canonical

equals(), hashCode(), toString() を自動生成してくれる。

 

プログラミングGROOVY

プログラミングGROOVY