Using new helper method "ofCallStaticVoidJavaMethod" + added the udpated java side.