Project Lombok Getter and Setter Example (Part 2)

Опубликовано: 19 Март 2026
на канале: Philip Starritt
17,153
82

In this Java tutorial I show you how to use Project Lombok'S Getter and Setter annotation in Eclipse IDE.

What is project Lombok and why would I want it?
“Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.”

What this essentially means, it will automatically generate common java boilerplate code (such as getters, setters, constructors, tostring etc) with a couple of annotations. This is done at compile time and weaved into your bytecode, this means project Lombok does not need be on the executables classpath during production.

Don’t forget to subscribe for more great tech vids!
Have a good one!
Philip

Links:

Eclipse, Spring Tool Suite setup guide
https://projectlombok.org/setup/eclipse

Java Project Lombok
https://projectlombok.org/

Eclipse IDE Download
http://www.eclipse.org/

Project Lombok Features
https://projectlombok.org/features/all