Darryl Miles
03/03/2024, 5:26 AMval kclass = MyEntity::class
val randomMember = kclass.members.findLast { it.name == "randomProperty" } // KCallable<*>
val kmutable = if(randomMember is KMutableProperty) randomMember as KMutableProperty else null // KMutableProperty is the real type
val javaField = kmutable?.annotations // this is the only non-empty annotations field/member/method/property that exists around "randomProperty"