Why no automatic conversion from JavaBeans properties to Kotlin properties?


#1

I feel sure this must be an FAQ but I could not find it with a quick search.

How comes Kotlin does not do the same as Nashorn, Jython, etc and let you write a.b = c for a Java class that has an a.setB() method? It seems a fairly obvious thing to do so there must be some kind of reason for it.


#2

Hi Mike! It will be supported soon. Please vote here: https://youtrack.jetbrains.com/issue/KT-400.


#3

Ah OK, it's just never got to the top of the queue then? Seems like a pretty fundamental feature of the language java interop. I voted!