Convenient C++ wrappers for Java Native Interface