lombok

Installation
SKILL.md

Lombok Skill

Applies Lombok annotations to eliminate boilerplate constructors, getters, setters, and toString/equals/hashCode implementations across the JPA4 API Server codebase (Java 17, Lombok 1.18+).

Quick Start

Lombok is already on the classpath via pom.xml. Add annotations directly to classes — no additional configuration is needed. Use mvn compile to verify generated code compiles cleanly.

Key Concepts

Annotation Generates Use on
@Data getters, setters, toString, equals, hashCode Mutable entities and request DTOs
@RequiredArgsConstructor Constructor for all final fields @Service, @Component, @Configuration beans
@NoArgsConstructor Zero-arg constructor JPA entities (required by Hibernate)
@AllArgsConstructor All-fields constructor Value objects, test builders
@Builder Builder pattern Complex object construction
@Slf4j private static final Logger log Any class needing logging
@Value Immutable class (all fields final, no setters) Immutable value objects
Installs
1
First Seen
Jun 22, 2026
lombok — rtdickerson/jpa4apiservertemplateproject