https://kotlinlang.org logo
#announcements
Title
# announcements
m

miha-x64

02/27/2017, 3:04 PM
Try
java.lang.Void.TYPE
. To format code in Slack, wrap it into three backticks.
a

aslan

02/28/2017, 6:54 AM
miha-x64: thanks! now there is another question ) it perfectly works this way
Copy code
lookup.findStatic(c, "showHello", mtype).invokeWithArguments()
but couldn't find out how to make it work with simple "invoke()" method.
m

miha-x64

02/28/2017, 8:25 AM
I don’t know VarHandles at all. Maybe anyone other will help.
a

aslan

02/28/2017, 8:38 AM
ah, thanks! )