<@U0SBUNBC6>: ``` fun foo(f: KFunction&lt;*&gt;) ...
# reflect
u
@somoni:
Copy code
fun foo(f: KFunction<*>) {
    val methodName = f.name
    val className = f.javaMethod!!.declaringClass.name
    ...
}