You can use one of the embeddable forms of Kotlin ...
# announcements
o
You can use one of the embeddable forms of Kotlin compiler, run only frontend and inspect emitted diagnostics, comparing them to what they need to be. No out-of-the box solution, I’m afraid.