Where can I find documentation about how kotlin converts java methods to properties
Have you tried google? Or official documentation?
Ok, I will ask question from other side.
Why kotlin converts HashMap.size() to size property?
It does not. Kotlin Map
is not a converted Java Map
, it is an interface of its own, which is mapped internally to Java Map
on Kotlin-JVM.
2 Likes
Thank you