Skip to content

saurabh-vaish/ProjectLombok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ProjectLambok

This repository is for project Lambok examples . use of annotation @Setter ,@Getter , @Data ,@NoArgsConstructor ,@AllArgsConstructor,@RequiredArgsConstructor

Project Lambok :

Project Lambok is used to reduce boiler plate code in java programs like , setters , getters .. etc . this code will be added in .class file

Here in this repo it is example of uses of annotation used by Project Lamok .

@Setter : @Setters are used to add setter methods in model class .
@Getter : @Getters are used to add getter methods in model class .
@ToString : @ToString is used to add toString() method in model class .
@EqualsAndHashCode : This method is used to add equals() and hashCode() methods in model class .
@NoArgsConstructor : This method is used to add default construcotr methods in model class .
@AllArgsConstructor : This method is used to add parameterized constructor in model class .
@RequiredArgsConstructor : This method is used to add constructor for fields needed in model class .

About

This repository is for project Lombok examples . use of annotation @Setter ,@getter , @DaTa ,@NoArgsConstructor ,@AllArgsConstructor,@requiredargsconstructor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages