In dynamic languages such as Groovy, each attribute have its’ own pair of implied getter and setter method. Lombok offer same convenience to plain old Java, via Annotation. Below is an example: The only annotation that do the magic is @Data. Getter and setter method for all field are available in JavaBean convention. You may [...]
Trending Articles
More Pages to Explore .....