Lombok

Related Tags

Tutorials

Omit Lombok @Getter and @Setter

Learn to add default accessor methods (getter and setter) using Lombok and omit these methods for specific requirements. 1. Default Behavior Lombok provides two annotations to add getter and setter methods to a POJO. @Getter – can be applied on any field and class. When applied on a field, lombok …

Lombok Serialize and Deserialize @Builder Class

Learn to serialize and deserialize Lombok @Builder annotated class with Jackson library. For demo purpose, we are using Article class have few field members. We have created this class during the Lombok @Builder tutorial. 1. Serializing @Builder Class The serialization process is very simple and we do not do anything …

Lombok @Builder

Lombok’s @Builder annotation is a useful technique to implement the builder pattern that aims to reduce the boilerplate code. In this tutorial, we will learn to apply @Builder to a class and other useful features. Ensure you have included Lombok in the project and installed Lombok support in the IDE. …

Lombok Introduction and Eclipse Installation

Lombok is very handy tool for minimizing the boilerplate code as well as providing lot’s of other features such as lazy loading, thread safety or immutability. This is the reason it becoming very popular among the developer community.

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.