Configure eclipse-generated code

I would like to customize the way eclipse generates methods hashCodeand equals. Is there any way to do this?

+3
source share
2 answers

Besides the parameters that you can see in the dialog box during generation, there is no easy way to configure the created methods. However, you could create your own plugins that somehow replace the default implementation.

+1
source

Do you want to configure the generator itself? I do not think that's possible. There are many plugins that do the same thing that can be customizable.

0
source

Source: https://habr.com/ru/post/1793805/


All Articles