[Commonizer] Better handling of ObjcMethod and related annotations

They are important for overridability rules, so can't be just ignored.
Some arguments are still different on different platforms, so
commonized version is a bit strange.

But the only important part is selector, which should be same on
all platforms.

^KT-57588
This commit is contained in:
Pavel Kunyavskiy
2024-01-23 17:36:15 +01:00
committed by Space Team
parent ffed0ecf1f
commit 0a07f16896
6 changed files with 103 additions and 59 deletions
@@ -3,5 +3,4 @@ package kotlinx.cinterop
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(AnnotationRetention.BINARY)
annotation class ObjCMethod() // fake annotation class without properties
annotation class ObjCMethod(val selector: String, val encoding: String, val isStret: Boolean)