(Please read my next posting in this thread. It clarifies/enhances the actual problem.)
Forgive me if I am mistaken...
I expect the scala class:
var name: String = ""
var age: Int = 0
will automatically generate getters/setters for the name and age fields. But when I do this in IntelliJ and then try to manipulate MyClass in java via:
public void someJavaMethod()
MyClass myClass = new MyClass();
myClass.setAge( 32 );
I get a compiler error that setAge does not exist.
I understand that, by default, scala will generate not setXXX() and getXXX(), but XXX() and XXX_$eq(). And to get the former I need to used the @BeanProperty annotation. But in either case, NO methods - regardless of how named - are generated for MyClass. (Auto-complete shows no methods other than Object's equals(), hashCode(), toString(), etc)