If you design it properly in Java it will work in ...
# language-proposals
e
If you design it properly in Java it will work in Kotlin in just the same way.