Try `java.lang.Void.TYPE`. To format code in Slack...
# announcements
m
Try
java.lang.Void.TYPE
. To format code in Slack, wrap it into three backticks.
a
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
I don’t know VarHandles at all. Maybe anyone other will help.
a
ah, thanks! )