title: How can I convert a part of Java source file to Kotlin?
body: <p>In my Kotlin project, I have some parts of Java code that I want to convert to Kotlin. The menu item that converts the Java file to Kotlin is disabled because it's not a whole file I want to convert.</p>
  <p>How can I convert Java code to Kotlin?</p>