3 ms·
> The preferred approach for creating a "Kotlin wrapper" if one is necessary is simply adding extension methods to the Java class. You nailed it. I think that
by mahmoudimus 11y ago
> The preferred approach for creating a "Kotlin wrapper" if one is necessary is simply adding extension methods to the Java class.
You nailed it. I think that this is ultimately something that JetBrains must stress in their documentation and have extensive examples on how to go about doing this if Kotlin is to get much more widespread adoption.