IDEA 如何自动生成带参数的java构造函数 Mac快捷键?
ringa_lee
Write the parameter variables first, command + n --> Constructor, it may be what you want, I have never seen anything faster than this.
Use lombok, just one annotation, @NoArgsConstructor, @RequiredArgsConstructor, @AllArgsConstructor
Write the parameter variables first, command + n --> Constructor, it may be what you want, I have never seen anything faster than this.
Use lombok, just one annotation, @NoArgsConstructor, @RequiredArgsConstructor, @AllArgsConstructor