Proper generation of JNI symbols for methods which take no parameters. The
long name should have __ appended. The old code only generated the short name
for methods which take no parameters. (#535)