How to get a function reference using reflection in Kotlin

后端 未结 0 919
滥情空心
滥情空心 2021-01-19 21:17

Let\'s suppose I have an instance of a class X with a method Y of which we will know the name only at runtime, how can I get a reference to it using reflection?

Somet

相关标签:
回答
  • 消灭零回复
提交回复
热议问题