-
-
Notifications
You must be signed in to change notification settings - Fork 26.7k
18. Lombok
Ilkka Seppälä edited this page Sep 8, 2022
·
8 revisions
We use Lombok's simple annotations to get rid of boilerplate, but at the same time detain ourselves from using the more complex ones not to sacrifice readability. Here's the list of allowed Lombok annotations
- NoArgsConstructor
- RequiredArgsConstructor
- AllArgsConstructor
- Getter
- Setter
- Slf4j
- ToString
- EqualsAndHashCode
- Data
- NonNull
- Builder
The use of any other annotation requires good justification.