<@U0BUH9FRD> You should be able to do this with `k...
# reflect
d
@sdeleuze You should be able to do this with `kotlin-reflect`:
Copy code
interface Foo {
  fun bar(baz: String)
}
fun getNameOfFirstParameterToBar(): String {
  val f = Foo::class.declaredMemberFunctions.find { it.name == "bar" }!!
  return f.parameters[1].name!!
}