Hello guys, assume i have a simple method, like `...
# announcements
a
Hello guys, assume i have a simple method, like
Copy code
public static void showHello() {
    System.out.println("Hello");
}
now i'd like to invoke it by using MethodHandle
Copy code
val c = Class.forName("sample.SampleModule")
val lookup = MethodHandles.lookup()
val mtype = MethodType.methodType(void::class.java)
lookup.findStatic(c, "showHello", mtype).invoke()
of course, there is nothing like void return-type in kotlin. the question is: how could i invoke it?