Lombok
使用步骤:
在IDEA中安装lombok插件
导入依赖jar包:在maven仓库中找
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.12</version>
<scope>provided</scope>
</dependency>