title: Why is SonarQube giving a transient/private error when class is Serialized?
body: <p>I have a java class that implements serializable and I'm assuming the variable within the class would also be serialized but SonarQube is complaining to me that it is not.</p>
  
  <p>My snippet of code is shown below:</p>
  
  <p><a href="https://i.stack.imgur.com/HwNAv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HwNAv.png" alt="SonarQube Error"></a></p>