Generate getter/setter, hashcode/equals, toString in one template in Intellij

别来无恙 提交于 2019-12-13 04:52:04

问题


It is possible to generate getter/setter, hashcode/equals, toString in one click? Right now I have to choose each one separetely.


回答1:


No, it's not possible. Each of the generators has a distinct UI where you need to specify the details of the methods you need, so it wouldn't save any significant effort if the generators were combined.



来源:https://stackoverflow.com/questions/30490265/generate-getter-setter-hashcode-equals-tostring-in-one-template-in-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!