fun test(no: Int, name: String) { println("no : $no name: $name") } fun main(args: Array) { val lambda = { no: Int, name: String -> println("no : $no name: $name")} println(::test.parameters[0].type.javaType) println(lambda.reflect()?.parameters!![0].type.javaType) } // line 10 fails with // kotlin.reflect.KotlinReflectionInternalError: Introspecting local functions, lambdas and anonymous functions is not yet fully supported