Project Lombok Annotations for Java

Tired of creating getters and setters for your Java POJO’s? Well, I was unti I’ve discovered Project Lombok. It’s definitely a tool worth checking out!

The Project Lombok comes with a set of Java annotations that can generate not only getter and setter methods for your beans, but also toString(), equals() and hashCode() methods. It can add synchronization to your methods, catch exceptions and automatically call close() on streams as well.

Comments