Allow Kotlin back-tick identifiers by CheckMethodAdapter.checkInternalName() and CheckMethodAdapter.checkMethodIdentifier()
Hello,
In Kotlin language you can use identifiers with any(?) characters except '[', ']', '(', ')', '<', '>', '/', '.', ';', ':' by escaping such identifiers with back-tick: '`':
class `Example class - name` {
val `example field (name)` = "123"
fun `example method - name`() {
val `example local variable` = "gg"
}
}
Please make Check*Adapter classes don't throw exception for such identifiers.
You can check if class is Kotlin class by checking if it annotated by kotlin.Metadata
annotation. It will be very good if CheckClassAdapter checks this automatically. If you think that it's too complicated, you can add additional constructor parameter.
Thanks!
PS: I can be mistaken with a list of prohibited Kotlin identifier characters...