how to get function name in kotlin code example Example: how to get function name in kotlin val name = object{}.javaClass.enclosingMethod.name