In Scala, you can use the @BeanProperty annotation to automatically generate getters and setters in a field.
How can I create my own annotation that behaves like this?
I'm interested in creating annotations that change the source code, like @BeanProperty.
As an example, how can I create an annotation that only generated get methods?
Thanks.
Vinicius seufitele
source share