Closed GeTOUO closed 5 years ago
That's what val and var fields compile to: if you want to access them from Java, you would achieve that by calling those methods. I don't know why the Scala compiler does that, but it's not a genjavadoc issue - genjavadoc just shows it ;).
The val and var fielrds in the case class are translated into methods. Why?