title: Why does SonarQube says “May expose internal representation by incorporating reference to mutable object” when using @SuperBuilder.?
body: <p>0</p>
  <p>I do not understand why do I keep getting this SonarQube error message:</p>
  <p><strong>Malicious code - May expose internal representation by incorporating reference to mutable object</strong></p>
  <p>This code stores a reference to an externally mutable object into the internal representation of the object.  If instances are accessed by untrusted code, and unchecked changes to the mutable object would compromise security or other important properties, you will need to do something different. Storing a copy of the object is better approach in many situations.</p>
  <p>Strange thing is it is showing the error message in one of the model but not on the other.</p>
  <p>here is the picture of the one that is giving the error message:
  <a href="https://i.stack.imgur.com/AZY6F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AZY6F.png" alt="enter image description here" /></a></p>
  <p>And here is the picture of the one that is not showing any error message:
  <a href="https://i.stack.imgur.com/HV85B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HV85B.png" alt="enter image description here" /></a></p>
  <p>Could someone explain me why am i getting the sonar error for @SuperBuilder in one and not in other?</p>