Try `java.lang.Void.TYPE`. To format code in Slack...
# announcements
a
Try
java.lang.Void.TYPE
. To format code in Slack, wrap it into three backticks. Slack Conversation 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.