Scala provides the @scala.reflect.BeanProperty
annotation. If you add this annotation to a field, the compiler will
automatically generate get and set methods for you.
BeanProperty is in scala.beans package.
---
Fixed in 5ed. Tnx.
Page 653 (PDF page 691):
Automatic get and set methods:
@scala.reflect.BeanProperty is wrong. @scala.beans.BeanProperty is true
---
Fixed in 5ed. Tnx.