Lombok features overview
val
@NonNull
@Cleanup
close()
methods safely with no hassle.@Getter
/ @Setter
public int getFoo() {return foo;}
again.@ToString
toString
for you!@EqualsAndHashCode
hashCode
and equals
implementations from the fields of your object.@NoArgsConstructor
, @RequiredArgsConstructor
and @AllArgsConstructor
@Data
@ToString
, @EqualsAndHashCode
, @Getter
on all fields, and @Setter
on all non-final fields, and@RequiredArgsConstructor
!@Value
@SneakyThrows
@Synchronized
synchronized
done right: Don't expose your locks.@Getter(lazy=true)
@Log
@Delegate
References
1. Lombok site : http://projectlombok.org/
2. Lombok features : http://projectlombok.org/features/index.html
3. Lombok annotion 설명 : http://jnb.ociweb.com/jnb/jnbJan2010.html
4. Project Lombok - http://projectlombok.org
5. Lombok API Documentation - http://projectlombok.org/api/index.html
6. Project Lombok Issues List - http://code.google.com/p/projectlombok/issues/list
7. Use Lombok via Maven - http://projectlombok.org/mavenrepo/index.html
8. Project Lombok Google Group - http://groups.google.com/group/project-lombok
9. Reviewing Project Lombok or the Right Way to Write a Library - http://www.cforcoding.com/2009/11/reviewing-project-lombok-or-right-way.html
10. Morbok: Extensions for Lombok - http://code.google.com/p/morbok
11. Using Project Lombok with JDeveloper - http://kingsfleet.blogspot.com/2009/09/project-lombok-interesting-bean.html