Not sure if this is the right channel to ask. But I have an interface with some methods with respective custom annotations. It uses reflection to call the methods by name at runtime. Nothing fancy just plain reflection. On Kotlin 2.0.21 all is good. But upgrading to Kotlin 2.2.21 is making the
method.annotations
returning and empty array of Annotation, like if the annotation on the method was ignored/removed. Was there any change in Kotlin or kapt that could cause this, for more that I search no ai, LLM or simple search can give me a decent answer.