lombok ×1
Создан 26.04.2025
0
голоса
3
ответов
18
просмотров
Почему аннотация @Builder из Lombok несовместима с этим конструктором?

У меня есть такой простой код:

@Data
@Builder
public class RegistrationInfo {

    private String mail;
    private String password;

    public RegistrationInfo(RegistrationInfo registrationInfo) {
        this.mail = registrationInfo.mail;
        this.password =...
Эксперты по тегу
Связанные теги