@Getter Annotation | Springboot Annotations | Project lombok

Опубликовано: 22 Февраль 2026
на канале: Campus Learn
76
4

#shorts

In Spring Boot, the @Getter annotation is part of the Lombok library, which reduces boilerplate code by automatically generating getters for your class fields. Lombok generates the getter methods during the compile time when you use the @Getter annotation on a class or a field.