@Getter / @Setterpublic int getFoo() {return foo;} again.@ToStringtoString for you!@EqualsAndHashCodehashCode and equals implementations from the fields of your object.@Data@ToString, @EqualsAndHashCode,
@Getter on all fields, and @Setter on all non-final fields. You even
get a free constructor to initialize your final fields!@Cleanupclose() methods safely with no hassle.@Synchronizedsynchronized done right: Don't expose your locks.@SneakyThrowslombok.jar in your IDE, you can also check out the javadoc.