Hi guys. In this lesson, we will learn basic things about Lombok library. We will use Lombok library for clean code. Normally, we should create getter and setter methods in Java for encapsulation principle. But all time to create these methods are not effective for coders. So escape it, we can use a little more getter or setter methods.
These methods can be used on class level or field level. If they use it on class level, all fields will have getter and setter methods. The other annotation of lubuk is data. With this annotation, we can handle getters, setters, equals and hashCode methods automatically. The other important annotation of limbo is With this annotation, we can create final, immutable classes. venue is similar to the data annotation, but it creates immutable classes.
The other thing about lumber is creating default empty constructors and full argument constructors. To create empty constructors. We can use no arcs, constructed annotation to create full argument constructors. We can use all our constructors, annotation. Okay, that's all. Thank you.