Templates related to the Java Native Interface.