I haven't found a working way to get IntelliJ to generate equals/hashcode like this. The "deluxe" plugin had some problem (that I don't remember) last time I tried it. Do you have any suggestions?