Lombok features
@Getter / @Setter
- Never write
public int getFoo() {return foo;} again.
@Data
- 'struct' for java: Automatically generate
toString, hashCode, equals, a constructor, and getters and setters
from just the fields in your class.
@Cleanup
- Automatic resource management: Call your
close() methods safely with no hassle.
@Synchronized
synchronized done right: Don't expose your locks.
@SneakyThrows
- To boldly throw checked exceptions where no one has thrown them before!