Is it possible to change the code generation template for equals()
and hashCode()
?
I would like the generated code to use the Java 7 Objects
class for theses methods.
As of release 14.1 of the Ultimate Edition it is possible to customize the Code generation template of equals()/hashCode() without the use of any third party plugin.
Press "Alt + Insert" (Generate...), choose "equals() and hashCode()" and you will be able to select one of the predefined templates or a customized template of your own.