udalov
fun foo(f: KFunction<*>) { val methodName = f.name val className = f.javaMethod!!.declaringClass.name ... }