标签:.project .net details features tail scope 依赖 参考 private
Maven引入依赖:
<dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.16.18</version> <scope>provided</scope> </dependency> </dependencies>
使用:
@Data @Log4j @NoArgsConstructor @AllArgsConstructor public class Person { private String id; private String name; private String identity; }
参考:
http://blog.csdn.net/ghsau/article/details/52334762
http://www.blogjava.net/fancydeepin/archive/2012/07/12/lombok.html
https://projectlombok.org/setup/maven
https://projectlombok.org/features/all
Java上使用Lombok插件简化Getter、Setter方法
标签:.project .net details features tail scope 依赖 参考 private
原文地址:http://www.cnblogs.com/EasonJim/p/7427168.html