I occasionally remember this anecdote (I think it was from Talking Kotlin): this team had some C or maybe C++ signatures that they wanted to convert to Kotlin. Because the language was pretty similar to Java, they were able to tweak the Java-to-Kotlin converter from IntelliJ slightly, and thus automate the conversion of all those signatures!