title: Why is Lombok @Builder not compatible with this constructor?
body: <p>I have this simple code:</p>
  
  <pre><code>@Data
  @Builder
  public class RegistrationInfo {
  
      private String mail;
      private String password;
  
      public RegistrationInfo(RegistrationInfo registrationInfo) {
          this.mail = registrationInfo.mail;
          this.password = registrationInfo.password;
      }
  }
  </code></pre>
  
  <p>First I was using only the <code>@Builder</code> Lombok annotation and everything was fine. But I added the constructor and the code does not compile any more. The error is:</p>
  
  <pre><code>Error:(2, 1) java: constructor RegistrationInfo in class com.user.RegistrationInfo cannot be applied to given types;
    required: com.user.RegistrationInfo
    found: java.lang.String,java.lang.String
    reason: actual and formal argument lists differ in length  
  </code></pre>
  
  <p>So I have two questions:</p>
  
  <ol>
  <li>Why is Lombok <code>@Builder</code> not compatible with this constructor? </li>
  <li>How do I make the code compile taking into account that I need both the builder and the constructor?</li>
  </ol>